From 5a966a28fa71c16880ec911653e33b833ac7cb59 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Fri, 29 Nov 2019 22:07:47 -0500 Subject: [PATCH] Made loop run more frequently --- DemoPrograms/Demo_Multithreaded_Long_Task_Simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DemoPrograms/Demo_Multithreaded_Long_Task_Simple.py b/DemoPrograms/Demo_Multithreaded_Long_Task_Simple.py index 8635d1c0..8a2c17c3 100644 --- a/DemoPrograms/Demo_Multithreaded_Long_Task_Simple.py +++ b/DemoPrograms/Demo_Multithreaded_Long_Task_Simple.py @@ -68,7 +68,7 @@ def the_gui(): # --------------------- EVENT LOOP --------------------- while True: - event, values = window.read(timeout=400) + event, values = window.read(timeout=100) if event in (None, 'Exit'): break elif event.startswith('Do'):