[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.1/kdebase/apps/dolphin/src
From: Alex Merry <huntedhacker () tiscali ! co ! uk>
Date: 2008-07-31 1:05:03
Message-ID: 1217466303.443316.26800.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 839878 by alexmerry:
Backport of r839877:
We want to change the tab, not just the view.
Fixes the issue: open three tabs. Select the second one and close it. Now right tab \
is active, but content for left tab is shown.
M +1 -1 dolphinmainwindow.cpp
--- branches/KDE/4.1/kdebase/apps/dolphin/src/dolphinmainwindow.cpp #839877:839878
@@ -702,7 +702,7 @@
if (index == m_tabIndex) {
// The tab that should be closed is the active tab. Activate the
// previous tab before closing the tab.
- setActiveTab((index > 0) ? index - 1 : 1);
+ m_tabBar->setCurrentIndex((index > 0) ? index - 1 : 1);
}
// delete tab
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic