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

@ -12,7 +12,6 @@
- Replying to one of our own message that's currently only a local echo
results in a reply to an empty ID
- Need to unregister popups/menus when they are destroyed without being closed
- Bottom focus line for an `HTextArea` inside a `ScrollView` is invisible,
put the background on `ScrollView` instead?

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