┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-10-07 18:37:59 +0000
committerPeter Penz <[email protected]>2008-10-07 18:37:59 +0000
commit84f25c4503997f8a6646b6fa322ecf93ab0e0a94 (patch)
tree1d138c7eee46011bfa0e9d263566fe245507efda
parent5a4749d9620cc378d10e95cb986ac9b71217b97c (diff)
when changing the settings it is necessary to refresh all tabs, not only the active tab
svn path=/trunk/KDE/kdebase/apps/; revision=868952
-rw-r--r--src/dolphinmainwindow.cpp9
1 files changed, 6 insertions, 3 deletions
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);