diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-11-12 23:43:05 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:06 +0100 |
commit | 8428c657068dad193fe17282ae1cd67e9888f99b (patch) | |
tree | 41494e824852c2a9a8503c82686ac7b5d42ae520 /src | |
parent | clean up urlbar on alt + return new tab load (diff) | |
download | rekonq-8428c657068dad193fe17282ae1cd67e9888f99b.tar.xz |
open target _blank link in new focused tabs, following chrom* & firefox
Diffstat (limited to 'src')
-rw-r--r-- | src/tabwindow/tabwindow.cpp | 2 |
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); } |