Skip to content

Commit

Permalink
fix(browser): focus webview on navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
trollixx committed Apr 11, 2019
1 parent 31524b0 commit a998119
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/browser/webcontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a998119

Please sign in to comment.