diff options
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r-- | src/mainview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index 7c91b992..3836ddd0 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -274,7 +274,8 @@ WebView *MainView::newWebView(bool focused) connect(webView->page(), SIGNAL(windowCloseRequested()), this, SLOT(windowCloseRequested())); connect(webView->page(), SIGNAL(printRequested(QWebFrame *)), this, SIGNAL(printRequested(QWebFrame *))); - addTab(webView, i18n("(Untitled)")); + // opening tab NEAR the previous + insertTab(currentIndex() + 1, webView, i18n("(Untitled)")); if (focused) { |