summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-11-12 23:43:05 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:06 +0100
commit8428c657068dad193fe17282ae1cd67e9888f99b (patch)
tree41494e824852c2a9a8503c82686ac7b5d42ae520 /src
parentclean up urlbar on alt + return new tab load (diff)
downloadrekonq-8428c657068dad193fe17282ae1cd67e9888f99b.tar.xz
open target _blank link in new focused tabs, following chrom* & firefox
Diffstat (limited to 'src')
-rw-r--r--src/tabwindow/tabwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp
index 84797f85..12c0aaa8 100644
--- a/src/tabwindow/tabwindow.cpp
+++ b/src/tabwindow/tabwindow.cpp
@@ -265,6 +265,8 @@ void TabWindow::pageCreated(WebPage *page)
// Now, the dirty jobs...
_openedTabsCounter++;
insertTab(currentIndex() + _openedTabsCounter, tab, i18n("new tab"));
+
+ setCurrentWidget(tab);
}