diff options
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index ac2355ce..907a7fe5 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -399,7 +399,10 @@ WebView *MainView::newWebView(bool makeCurrent) addTab(webView, i18n("(Untitled)")); if (makeCurrent) + { setCurrentWidget(webView); + currentLineEdit()->setFocus(Qt::ActiveWindowFocusReason); + } if (count() == 1) currentChanged(currentIndex()); @@ -534,7 +537,6 @@ void MainView::webViewLoadStarted() int index = webViewIndex(webView); if (-1 != index) { -// setTabIcon(index, KIcon("rekonq")); setTabIcon(index, QIcon(loadingGitPath)); } } |