From kde-commits Thu Jul 31 01:02:53 2008 From: Alex Merry Date: Thu, 31 Jul 2008 01:02:53 +0000 To: kde-commits Subject: KDE/kdebase/apps/dolphin/src Message-Id: <1217466173.820492.26684.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121746618205068 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