From 9b4054fd7e6edfc6ca9b73a7099673d435bbe6b0 Mon Sep 17 00:00:00 2001 From: PySimpleGUI Date: Fri, 23 Apr 2021 09:12:04 -0400 Subject: [PATCH] Fix for duplicate keys when extending layout --- PySimpleGUI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PySimpleGUI.py b/PySimpleGUI.py index 233f0f47..a042d42a 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -version = __version__ = "4.39.1.11 Unreleased\nfix for TCL error when scrolling col element (Jason99020 scores again!), Button error popups with trace when bad images found, addition of size parameter to TabGroup, changed where key gets set for buttons - was causing problems with buttons that set a key explicitly, fix for grraph drag events that was caused by the realtime button fix, one more fix for realtimebutton problem, Checkbox.get now returns bool, Button gets mouseover_colors parm, fix for Debug window, changed the console message when using the word default in the theme, set ColorChooser target default to match other chooser buttons, fix for SystemDefaultForReal theme right click menu, reworked the Issues GUI to fit smaller screens" +version = __version__ = "4.39.1.12 Unreleased\nfix for TCL error when scrolling col element (Jason99020 scores again!), Button error popups with trace when bad images found, addition of size parameter to TabGroup, changed where key gets set for buttons - was causing problems with buttons that set a key explicitly, fix for grraph drag events that was caused by the realtime button fix, one more fix for realtimebutton problem, Checkbox.get now returns bool, Button gets mouseover_colors parm, fix for Debug window, changed the console message when using the word default in the theme, set ColorChooser target default to match other chooser buttons, fix for SystemDefaultForReal theme right click menu, reworked the Issues GUI to fit on smaller screens, fixed extend_layout so key counter not restarted" __version__ = version.split()[0] # For PEP 396 and PEP 345 @@ -11604,7 +11604,7 @@ def _BuildResults(form, initialize_only, top_level_form): # Button - Button Text and position as a Tuple # Get the initialized results so we don't have to rebuild - form.DictionaryKeyCounter = 0 + # form.DictionaryKeyCounter = 0 form.ReturnValuesDictionary = {} form.ReturnValuesList = [] _BuildResultsForSubform(form, initialize_only, top_level_form)