Fix HPopup not calling window.visiblePopupsChanged
This commit is contained in:
parent
e5b102c761
commit
93baaf51a0
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user