┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-09-21 19:30:26 +0000
committerPeter Penz <[email protected]>2010-09-21 19:30:26 +0000
commit53dbea61bcce157c9556601ad6163f5d78e19c0f (patch)
treed19aae2de7db858f6a6206e8723cc4c9f51e97e3
parent801e28d7d6783671e8e39f2f6f1aab1180666f58 (diff)
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: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1177952
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
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)));
}