mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
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:
parent
cf26115651
commit
8450c53315
2 changed files with 7 additions and 8 deletions
|
|
@ -219,7 +219,7 @@ def main():
|
|||
mainscreen.mode("standard")
|
||||
mainscreen.setup(SCREENWIDTH, SCREENHEIGHT)
|
||||
nim = Nim(mainscreen)
|
||||
return "EVENTLOOP!"
|
||||
return "EVENTLOOP"
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue