Bug fix - need to decrement number of open windows after ReadFormButton clicked
This commit is contained in:
parent
1505b56601
commit
8759046bcf
|
@ -1084,6 +1084,9 @@ class FlexForm:
|
|||
if self.RootNeedsDestroying:
|
||||
self.TKroot.destroy()
|
||||
_my_windows.Decrement()
|
||||
# if form was closed with X
|
||||
if self.LastButtonClicked is None and self.LastKeyboardEvent is None and self.ReturnValues[0] is None:
|
||||
_my_windows.Decrement()
|
||||
if self.LastKeyboardEvent is not None or self.LastButtonClicked is not None:
|
||||
return BuildResults(self, False, self)
|
||||
else:
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue