Fix HPopup not calling window.visiblePopupsChanged

This commit is contained in:
miruka 2020-07-20 19:45:24 -04:00
parent e5b102c761
commit 93baaf51a0

View File

@ -49,12 +49,12 @@ Popup {
onAboutToShow: previouslyFocused = window.activeFocusItem
onOpened: {
window.visiblePopups[uuid] = this
window.visibleMenusChanged()
window.visiblePopupsChanged()
}
onClosed: {
if (focusOnClosed) focusOnClosed.forceActiveFocus()
delete window.visiblePopups[uuid]
window.visibleMenusChanged()
window.visiblePopupsChanged()
}
Component.onDestruction: closed()