mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 16:14:35 +02:00
Prevent flicker of keyboard area when navigate to a new page in browser
This commit is contained in:
parent
52f2d36096
commit
40bfbf4021
1 changed files with 3 additions and 2 deletions
|
@ -134,10 +134,11 @@ ScrollingWindow {
|
||||||
case Qt.Key_Return:
|
case Qt.Key_Return:
|
||||||
event.accepted = true
|
event.accepted = true
|
||||||
if (text.indexOf("http") != 0) {
|
if (text.indexOf("http") != 0) {
|
||||||
text = "http://" + text
|
text = "http://" + text;
|
||||||
}
|
}
|
||||||
root.hidePermissionsBar();
|
root.hidePermissionsBar();
|
||||||
webview.url = text
|
root.keyboardRaised = false;
|
||||||
|
webview.url = text;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue