Issue #22065: Menus, unlike Menubottons, do not have a state option.

Since a new demo can now be loaded while one is running,
adjust loadfile to do the same cleanup as stopIt.
This commit is contained in:
Terry Jan Reedy 2014-08-27 01:43:50 -04:00
parent cf26115651
commit 8450c53315
2 changed files with 7 additions and 8 deletions

View file

@ -219,7 +219,7 @@ def main():
mainscreen.mode("standard")
mainscreen.setup(SCREENWIDTH, SCREENHEIGHT)
nim = Nim(mainscreen)
return "EVENTLOOP!"
return "EVENTLOOP"
if __name__ == "__main__":
main()