mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
systray: don't try to force focus of menus
This commit is contained in:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user