Merge pull request #1688 from PySimpleGUI/Dev-latest
Fix bug that crashes code if 2 keys are the same.
This commit is contained in:
commit
290c7948bd
1 changed files with 2 additions and 0 deletions
|
@ -3213,6 +3213,8 @@ class Window:
|
|||
self.BackgroundImage = background_image
|
||||
self.XFound = False
|
||||
self.DisableMinimize = disable_minimize
|
||||
self.UniqueKeyCounter = 0
|
||||
|
||||
if layout is not None:
|
||||
self.Layout(layout)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue