Update menu.py

remove duplicate call to self._parent._destroy_top_level_frames() in menu.py
This commit is contained in:
onyx-and-iris 2022-04-22 19:13:54 +01:00
parent 76ca376bfc
commit abad689be4

View File

@ -296,8 +296,6 @@ class Menus(tk.Menu):
i_to_close.logout()
# build new app frames according to a kind
kind = kind_get(self._vmr.type)
# destroy the current App frames
self._parent._destroy_top_level_frames()
self._parent._make_app(kind, None)
target_menu = getattr(self, f"menu_vban_{i+1}")
target_menu.entryconfig(0, state="normal")