From 4491798db275ebc2efb7d1484fd1ee83bf492b7f Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Mon, 1 Mar 2021 04:27:26 -0500 Subject: [PATCH] Removed extra read --- DemoPrograms/Demo_Compact_Layouts_Element_Renaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()