mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
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
This commit is contained in:
parent
801e28d7d6
commit
53dbea61bc
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue