diff options
author | Nikhil Marathe <nsm.nikhil@gmail.com> | 2010-05-24 17:12:54 +0530 |
---|---|---|
committer | Nikhil Marathe <nsm.nikhil@gmail.com> | 2010-05-24 17:12:54 +0530 |
commit | f8bc9310e0a22e75e9905b78a3d84fc28be5f2c2 (patch) | |
tree | 07ce624a9d40358f3da8155658b94314616f0395 | |
parent | rekonq 0.4.71 (diff) | |
download | rekonq-f8bc9310e0a22e75e9905b78a3d84fc28be5f2c2.tar.xz |
Restore stacked url bars to the right index when a tab is closed
BUG: 238644
-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 1c36adcf..932af009 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. |