Fix bug that crashes code if 2 keys are the same.

This commit is contained in:
MikeTheWatchGuy 2019-07-15 18:05:27 -04:00
parent 9a970dba70
commit 0fbee9dde6
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)