From c30a6e73d97530ed22cafa89b59cf25cf93e02d1 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 23 Aug 2009 12:39:21 +0200 Subject: Modified newTab function and splitted into two parts. There are still some regressions to be fixed: - open link in new tab is always without focus - urlbar is empty on new tab loading - mics.. --- src/webpage.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/webpage.cpp') diff --git a/src/webpage.cpp b/src/webpage.cpp index 1968c751..14994746 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -127,7 +127,9 @@ WebPage *WebPage::newWindow(WebWindowType type) kDebug() << "Modal Dialog ---------------------------------------"; } - WebView *w = Application::instance()->mainWindow()->mainView()->newTab(!ReKonfig::openTabsBack()); + // FIXME: regression introduced. No more following rekonq setting about tab focus + // the FIX should be moving loadUrl code from Application to acceptNavigationRequest + WebView *w = Application::instance()->mainWindow()->mainView()->newWebView(); return w->page(); } -- cgit v1.2.1