Merge pull request #1688 from PySimpleGUI/Dev-latest

Fix bug that crashes code if 2 keys are the same.
This commit is contained in:
MikeTheWatchGuy 2019-07-15 18:05:51 -04:00 committed by GitHub
commit 290c7948bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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)