Fix menu/popup destruction disabling keybinds
This commit is contained in:
parent
83047cf800
commit
3933615f67
1
TODO.md
1
TODO.md
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
- Replying to one of our own message that's currently only a local echo
|
- Replying to one of our own message that's currently only a local echo
|
||||||
results in a reply to an empty ID
|
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,
|
- Bottom focus line for an `HTextArea` inside a `ScrollView` is invisible,
|
||||||
put the background on `ScrollView` instead?
|
put the background on `ScrollView` instead?
|
||||||
|
|
|
@ -41,6 +41,7 @@ Menu {
|
||||||
delete window.visibleMenus[uuid]
|
delete window.visibleMenus[uuid]
|
||||||
window.visibleMenusChanged()
|
window.visibleMenusChanged()
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: closed()
|
||||||
|
|
||||||
|
|
||||||
property var previouslyFocused: null
|
property var previouslyFocused: null
|
||||||
|
|
|
@ -43,6 +43,7 @@ Popup {
|
||||||
delete window.visiblePopups[uuid]
|
delete window.visiblePopups[uuid]
|
||||||
window.visibleMenusChanged()
|
window.visibleMenusChanged()
|
||||||
}
|
}
|
||||||
|
Component.onDestruction: closed()
|
||||||
|
|
||||||
|
|
||||||
property var previouslyFocused: null
|
property var previouslyFocused: null
|
||||||
|
|
Loading…
Reference in New Issue
Block a user