summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-23 22:30:23 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-23 22:30:23 +0200
commit7d27ad56c1d65b97842d954f25ee22b3711ec05b (patch)
tree19530225943fbe93ec40bafee142384f56fc92ae /src/webpage.cpp
parentModified newTab function and splitted into two parts. (diff)
downloadrekonq-7d27ad56c1d65b97842d954f25ee22b3711ec05b.tar.xz
Fixed problems restoring Lionel's hack about focused (or not) new WebViews
Some fixing also on urlbar/tabwidget/webview focus. It seems working well.. :)
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 14994746..d3e49e10 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -129,7 +129,7 @@ WebPage *WebPage::newWindow(WebWindowType type)
// 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();
+ WebView *w = Application::instance()->mainWindow()->mainView()->newWebView(!ReKonfig::openTabsBack());
return w->page();
}