mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 14:44:39 +02:00
Force active focus on the address bar line while address bar is visible
This commit is contained in:
parent
1b82200ecb
commit
44b9bc7115
1 changed files with 11 additions and 0 deletions
|
@ -151,6 +151,17 @@ DialogContainer {
|
|||
addressLine.forceActiveFocus()
|
||||
}
|
||||
}
|
||||
|
||||
Timer {
|
||||
running: root.enabled
|
||||
interval: 500
|
||||
repeat: true
|
||||
onTriggered: {
|
||||
if (root.enabled && !addressLine.activeFocus) {
|
||||
addressLine.forceActiveFocus()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
onVisibleChanged: {
|
||||
if (!visible) {
|
||||
|
|
Loading…
Reference in a new issue