[modules/vault] Emit leave events for submenus

this seems to at least partially fix #633
This commit is contained in:
tobi-wan-kenobi 2020-05-28 21:06:22 +02:00
parent ebd98663c6
commit 4f2b283a55

View file

@ -48,7 +48,7 @@ def build_menu(parent, current_directory, callback):
) )
else: else:
submenu = util.popup.menu(parent, leave=False) submenu = util.popup.menu(parent, leave=True)
build_menu( build_menu(
submenu, os.path.join(current_directory, entry.name), callback submenu, os.path.join(current_directory, entry.name), callback
) )