[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/apps/dolphin/src
From:       Alex Merry <huntedhacker () tiscali ! co ! uk>
Date:       2008-07-31 1:02:53
Message-ID: 1217466173.820492.26684.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 839877 by alexmerry:

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.

Will backport to 4.1.

CCMAIL: peter.penz@gmx.at



 M  +1 -1      dolphinmainwindow.cpp  


--- trunk/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.cpp #839876:839877
@@ -700,7 +700,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