]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Update the title of the tab when closing the second view in the split-mode. Thanks to
authorPeter Penz <peter.penz19@gmail.com>
Tue, 21 Sep 2010 19:30:26 +0000 (19:30 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Tue, 21 Sep 2010 19:30:26 +0000 (19:30 +0000)
Enrique Alonso for analysing the root-cause!

CCMAIL: enrique_alonso@igluk.com

svn path=/trunk/KDE/kdebase/apps/; revision=1177952

src/dolphinmainwindow.cpp

index e72c52bfc25f0f5d5b4c220d5ecd5c6e46efe04f..e83d8c69218caac4a4a3f534e1895b8da962844c 100644 (file)
@@ -1301,7 +1301,7 @@ void DolphinMainWindow::setActiveViewContainer(DolphinViewContainer* viewContain
 
     const KUrl& url = m_activeViewContainer->url();
     setUrlAsCaption(url);
-    if (m_viewTab.count() > 1 && m_viewTab[m_tabIndex].secondaryView != 0) {
+    if (m_viewTab.count() > 1) {
         m_tabBar->setTabText(m_tabIndex, tabName(url));
         m_tabBar->setTabIcon(m_tabIndex, KIcon(KMimeType::iconNameForUrl(url)));
     }