diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-05-24 16:57:40 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-05-24 16:57:40 +0200 |
commit | b2d0924c2bd201c8ec6e0c40e24f673fe6673a73 (patch) | |
tree | 0a7511cdf86b683a8c244425733532816f6112bf | |
parent | Merge commit 'refs/merge-requests/2274' of git://gitorious.org/rekonq/mainlin... (diff) | |
parent | Restore stacked url bars to the right index when a tab is closed (diff) | |
download | rekonq-b2d0924c2bd201c8ec6e0c40e24f673fe6673a73.tar.xz |
Merge commit 'refs/merge-requests/2275' of git://gitorious.org/rekonq/mainline into m2275
-rw-r--r-- | src/mainview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index 01f0e1a4..b7ad7543 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -512,6 +512,8 @@ void MainView::closeTab(int index, bool del) UrlBar *urlbar = _widgetBar->urlBar(index); _widgetBar->removeWidget(urlbar); + _widgetBar->setCurrentIndex(m_currentTabIndex); + if (del) { tab->deleteLater(); // tab is scheduled for deletion. |