Fix HPopup not calling window.visiblePopupsChanged
This commit is contained in:
parent
e5b102c761
commit
93baaf51a0
|
@ -49,12 +49,12 @@ Popup {
|
||||||
onAboutToShow: previouslyFocused = window.activeFocusItem
|
onAboutToShow: previouslyFocused = window.activeFocusItem
|
||||||
onOpened: {
|
onOpened: {
|
||||||
window.visiblePopups[uuid] = this
|
window.visiblePopups[uuid] = this
|
||||||
window.visibleMenusChanged()
|
window.visiblePopupsChanged()
|
||||||
}
|
}
|
||||||
onClosed: {
|
onClosed: {
|
||||||
if (focusOnClosed) focusOnClosed.forceActiveFocus()
|
if (focusOnClosed) focusOnClosed.forceActiveFocus()
|
||||||
delete window.visiblePopups[uuid]
|
delete window.visiblePopups[uuid]
|
||||||
window.visibleMenusChanged()
|
window.visiblePopupsChanged()
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onDestruction: closed()
|
Component.onDestruction: closed()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user