mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 17:03:43 +02:00
11008 GoTo app does not focus on address bar when opened
This commit is contained in:
parent
eada0b1ff7
commit
7ab7a46530
1 changed files with 5 additions and 1 deletions
|
@ -72,10 +72,14 @@ StackView {
|
|||
Component { id: tabletWebView; TabletWebView {} }
|
||||
Component.onCompleted: {
|
||||
updateLocationText(false);
|
||||
addressLine.focus = !HMD.active;
|
||||
root.parentChanged.connect(center);
|
||||
center();
|
||||
tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system");
|
||||
|
||||
Qt.callLater(function() {
|
||||
addressBarDialog.keyboardEnabled = HMD.active;
|
||||
addressLine.forceActiveFocus();
|
||||
})
|
||||
}
|
||||
Component.onDestruction: {
|
||||
root.parentChanged.disconnect(center);
|
||||
|
|
Loading…
Reference in a new issue