From b221d833ea9ebed7c35c8cc639b635f50fb2ca23 Mon Sep 17 00:00:00 2001 From: Peter Habermehl Date: Fri, 15 Dec 2017 15:42:04 +0100 Subject: [PATCH] Bugfix in TouchAuxiliary.py TouchAuxRequestInteger Window was closed before result was read out. --- board/fischertechnik/TXT/rootfs/opt/ftc/TouchAuxiliary.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/fischertechnik/TXT/rootfs/opt/ftc/TouchAuxiliary.py b/board/fischertechnik/TXT/rootfs/opt/ftc/TouchAuxiliary.py index 87b3cf5e1c..17e9c34c7f 100644 --- a/board/fischertechnik/TXT/rootfs/opt/ftc/TouchAuxiliary.py +++ b/board/fischertechnik/TXT/rootfs/opt/ftc/TouchAuxiliary.py @@ -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)