Fix for missing results on persistent form

This commit is contained in:
MikeTheWatchGuy 2018-08-21 10:33:42 -04:00
parent 240a0a71e4
commit 23123c5320
1 changed files with 3 additions and 0 deletions

View File

@ -962,6 +962,9 @@ class FlexForm:
self.UseDefaultFocus = False
# -=-=-=-=-=-=-=-=- RUN the GUI -=-=-=-=-=-=-=-=- ##
StartupTK(self)
# If a button or keyboard event happened but no results have been built, build the results
if self.LastKeyboardEvent is not None or self.LastButtonClicked is not None:
return BuildResults(self, False, self)
return self.ReturnValues
# ------------------------- SetIcon - set the window's fav icon ------------------------- #