Prevent flicker of keyboard area when navigate to a new page in browser

This commit is contained in:
David Rowe 2016-09-29 10:35:18 +13:00
parent 52f2d36096
commit 40bfbf4021

View file

@ -134,10 +134,11 @@ ScrollingWindow {
case Qt.Key_Return:
event.accepted = true
if (text.indexOf("http") != 0) {
text = "http://" + text
text = "http://" + text;
}
root.hidePermissionsBar();
webview.url = text
root.keyboardRaised = false;
webview.url = text;
break;
}
}