Set inital image with fixed timeout

This commit is contained in:
2020-05-22 12:32:47 +02:00
parent ecca9e6aa6
commit a11f1517ff

View File

@@ -204,7 +204,9 @@ proc appActivate(app: Application) =
window.showAll
# Setting the inital image
forceUpdate(nil, nil, image)
# Fix 1 second timeout to make sure all other initialization has finished
updateTimeout = int(timeoutAdd(1000, timedUpdate, image))
## open communication channel from the control server
chan.open()