- 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:
Marius Stanciu
2020-04-10 18:54:04 +03:00
committed by Marius
parent 13644187e4
commit 496be49027
3 changed files with 19 additions and 15 deletions

View File

@@ -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_()