Skip to content

Commit cd96245

Browse files
author
Christopher Doris
committed
qt requires the interval to be an integer
1 parent c3eeb2b commit cd96245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compat/gui.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function init_gui()
7676
instance = QtCore.QCoreApplication.instance
7777
AllEvents = QtCore.QEventLoop.AllEvents
7878
processEvents = QtCore.QCoreApplication.processEvents
79-
maxtime = interval * 1000
79+
maxtime = int(interval * 1000)
8080
def callback():
8181
app = instance()
8282
if app is not None:

0 commit comments

Comments
 (0)