diff --git a/DemoPrograms/Demo_Compact_Layouts_Element_Renaming.py b/DemoPrograms/Demo_Compact_Layouts_Element_Renaming.py index 4bebce3e..1056aff1 100644 --- a/DemoPrograms/Demo_Compact_Layouts_Element_Renaming.py +++ b/DemoPrograms/Demo_Compact_Layouts_Element_Renaming.py @@ -41,7 +41,7 @@ B = sg.B layout = [[M(size=(30, 3))], [B('OK')]] -window = sg.Window('Shortcuts', layout).read() +window = sg.Window('Shortcuts', layout) event, values = window.read() sg.popup_scrolled(event, values) window.close()