Fix menu/popup destruction disabling keybinds

This commit is contained in:
miruka
2020-06-29 11:16:23 -04:00
parent 83047cf800
commit 3933615f67
3 changed files with 2 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ Menu {
delete window.visibleMenus[uuid]
window.visibleMenusChanged()
}
Component.onDestruction: closed()
property var previouslyFocused: null

View File

@@ -43,6 +43,7 @@ Popup {
delete window.visiblePopups[uuid]
window.visibleMenusChanged()
}
Component.onDestruction: closed()
property var previouslyFocused: null