Merge pull request #2279 from PySimpleGUI/Dev-latest
Made loop run more frequently
This commit is contained in:
commit
d713166955
|
@ -68,7 +68,7 @@ def the_gui():
|
||||||
|
|
||||||
# --------------------- EVENT LOOP ---------------------
|
# --------------------- EVENT LOOP ---------------------
|
||||||
while True:
|
while True:
|
||||||
event, values = window.read(timeout=400)
|
event, values = window.read(timeout=100)
|
||||||
if event in (None, 'Exit'):
|
if event in (None, 'Exit'):
|
||||||
break
|
break
|
||||||
elif event.startswith('Do'):
|
elif event.startswith('Do'):
|
||||||
|
|
Loading…
Reference in New Issue