From a998119a555526f8e76a9f38d144f3bd06572c92 Mon Sep 17 00:00:00 2001 From: Oleg Shparber Date: Wed, 10 Apr 2019 20:21:28 -0400 Subject: [PATCH] fix(browser): focus webview on navigation --- src/libs/browser/webcontrol.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/browser/webcontrol.cpp b/src/libs/browser/webcontrol.cpp index ef60e60..09dacba 100644 --- a/src/libs/browser/webcontrol.cpp +++ b/src/libs/browser/webcontrol.cpp @@ -102,6 +102,7 @@ void WebControl::setWebBridgeObject(const QString &name, QObject *object) void WebControl::load(const QUrl &url) { m_webView->load(url); + m_webView->setFocus(); } void WebControl::activateSearchBar()