- made sure that the timeout parameter used by some Tcl Commands is seen as an integer in all cases
- minor changes in Paint Tool
This commit is contained in:
@@ -387,7 +387,8 @@ class TclCommandSignaled(TclCommand):
|
||||
|
||||
# Terminate on timeout
|
||||
if timeout is not None:
|
||||
QtCore.QTimer.singleShot(timeout, report_quit)
|
||||
time_val = int(timeout)
|
||||
QtCore.QTimer.singleShot(time_val, report_quit)
|
||||
|
||||
# Block
|
||||
loop.exec_()
|
||||
|
||||
Reference in New Issue
Block a user