Fix bug that crashes code if 2 keys are the same.
This commit is contained in:
parent
9a970dba70
commit
0fbee9dde6
|
@ -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…
Reference in New Issue