From: Peter Penz Date: Tue, 7 Oct 2008 18:37:59 +0000 (+0000) Subject: when changing the settings it is necessary to refresh all tabs, not only the active tab X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/84f25c4503997f8a6646b6fa322ecf93ab0e0a94 when changing the settings it is necessary to refresh all tabs, not only the active tab svn path=/trunk/KDE/kdebase/apps/; revision=868952 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index f3b9d6228..718615222 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -182,9 +182,12 @@ void DolphinMainWindow::refreshViews() // the secondary view DolphinViewContainer* activeViewContainer = m_activeViewContainer; - m_viewTab[m_tabIndex].primaryView->refresh(); - if (m_viewTab[m_tabIndex].secondaryView != 0) { - m_viewTab[m_tabIndex].secondaryView->refresh(); + const int tabCount = m_viewTab.count(); + for (int i = 0; i < tabCount; ++i) { + m_viewTab[i].primaryView->refresh(); + if (m_viewTab[i].secondaryView != 0) { + m_viewTab[i].secondaryView->refresh(); + } } setActiveViewContainer(activeViewContainer);