Skip to content

Commit

Permalink
Bugfix in TouchAuxiliary.py TouchAuxRequestInteger
Browse files Browse the repository at this point in the history
Window was closed before result was read out.
  • Loading branch information
PeterDHabermehl authored Dec 15, 2017
1 parent 6b82279 commit b221d83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions board/fischertechnik/TXT/rootfs/opt/ftc/TouchAuxiliary.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,10 +546,10 @@ def show_value(self):
self.actval.setText(str(self.dial.value()))

def on_select(self):
self.close()
self.result = self.sender().text()
if self.result=="": self.result=self.button

self.close()

def exec_(self):
TouchDialog.exec_(self)
print(self.result)
Expand Down

0 comments on commit b221d83

Please sign in to comment.