3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-30 10:43:12 +02:00

Force active focus on the address bar line while address bar is visible

This commit is contained in:
Brad Davis 2016-01-06 11:10:05 -08:00
parent 1b82200ecb
commit 44b9bc7115

View file

@ -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) {