From: Peter Penz Date: Tue, 21 Sep 2010 19:30:26 +0000 (+0000) Subject: Update the title of the tab when closing the second view in the split-mode. Thanks to X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/53dbea61bcce157c9556601ad6163f5d78e19c0f Update the title of the tab when closing the second view in the split-mode. Thanks to Enrique Alonso for analysing the root-cause! CCMAIL: enrique_alonso@igluk.com svn path=/trunk/KDE/kdebase/apps/; revision=1177952 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index e72c52bfc..e83d8c692 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -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))); }