mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Fix address bar not being able to regain focus
This commit is contained in:
parent
d8242f02a5
commit
12f4b2854d
1 changed files with 2 additions and 1 deletions
|
@ -221,7 +221,7 @@ Window {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onActiveFocusChanged: {
|
onActiveFocusChanged: {
|
||||||
cursorVisible = isCursorVisible;
|
cursorVisible = isCursorVisible && focus;
|
||||||
}
|
}
|
||||||
MouseArea {
|
MouseArea {
|
||||||
// If user clicks in address bar show cursor to indicate ability to enter address.
|
// If user clicks in address bar show cursor to indicate ability to enter address.
|
||||||
|
@ -229,6 +229,7 @@ Window {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
isCursorVisible = true;
|
isCursorVisible = true;
|
||||||
parent.cursorVisible = true;
|
parent.cursorVisible = true;
|
||||||
|
parent.forceActiveFocus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue