1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

systray: don't try to force focus of menus

This commit is contained in:
bbedward
2025-11-15 14:57:47 -05:00
parent 1798417e6a
commit d11868b99f

View File

@@ -375,7 +375,6 @@ Item {
onVisibleChanged: {
if (visible) {
updatePosition()
Qt.callLater(() => overflowFocusScope.forceActiveFocus())
}
}
@@ -677,11 +676,6 @@ Item {
showMenu = false
if (root.overflowWasOpenBeforeTrayMenu) {
root.menuOpen = true
Qt.callLater(() => {
if (overflowMenu.visible && overflowFocusScope) {
overflowFocusScope.forceActiveFocus()
}
})
}
root.overflowWasOpenBeforeTrayMenu = false
}
@@ -739,7 +733,6 @@ Item {
onVisibleChanged: {
if (visible) {
updatePosition()
Qt.callLater(() => menuFocusScope.forceActiveFocus())
}
}