mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 22:26:24 +02:00
Merge pull request #8765 from ctrlaltdavid/fix-address-bar
Fix address bar not being able to regain focus
This commit is contained in:
commit
2b8765b47e
1 changed files with 2 additions and 1 deletions
|
@ -221,7 +221,7 @@ Window {
|
|||
}
|
||||
}
|
||||
onActiveFocusChanged: {
|
||||
cursorVisible = isCursorVisible;
|
||||
cursorVisible = isCursorVisible && focus;
|
||||
}
|
||||
MouseArea {
|
||||
// If user clicks in address bar show cursor to indicate ability to enter address.
|
||||
|
@ -229,6 +229,7 @@ Window {
|
|||
onClicked: {
|
||||
isCursorVisible = true;
|
||||
parent.cursorVisible = true;
|
||||
parent.forceActiveFocus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue