Removed comment code that fails in 2.7
This commit is contained in:
parent
bed31c7580
commit
2340b1e82b
2 changed files with 10 additions and 14 deletions
|
@ -81,7 +81,7 @@ def the_gui(gui_queue):
|
|||
window = sg.Window('Multithreaded Window').Layout(layout)
|
||||
# --------------------- EVENT LOOP ---------------------
|
||||
while True:
|
||||
event, values = window.Read(timeout=100) # wait for up to 100 ms for a GUI event
|
||||
event, values = window.Read(timeout=100) # wait for up to 100 ms for a GUI event from user
|
||||
if event is None or event == 'Exit':
|
||||
break
|
||||
#--------------- Loop through all messages coming in from threads ---------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue