Change-Id: Ic7125870f209dd9b12e597e43a4874c30da3ca05
This commit is contained in:
Enrico Faulhaber 2017-07-27 11:37:39 +02:00
parent 5fb7d747ba
commit 2e492269b8
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ def main(argv=None):
print()
print("if not given, host defaults to 'localhost' and port to 10767")
sys.exit(0)
if '-d' in argv or '--debug' in argv:
mlzlog.initLogging('gui', 'debug')
else:

View File

@ -277,7 +277,7 @@ class DriveableWidget(ReadableWidget):
self.targetLineEdit.setText(str(target))
def on_cmdPushButton_clicked(self, toggle=False):
if toggled:
if toggle:
return
if self._is_enum:
self.on_targetComboBox_activated()