From 6866686dd2688d936fe9ff8b8784cc3e433a5b45 Mon Sep 17 00:00:00 2001 From: Sebastian Doerner Date: Sat, 8 Jan 2011 19:08:49 +0000 Subject: [PATCH] Fix sanity check in toggleViews() svn path=/trunk/KDE/kdebase/apps/; revision=1212950 --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index bc5641e1e2..1e60bb9805 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -220,7 +220,7 @@ void DolphinMainWindow::openFiles(const QList& files) void DolphinMainWindow::toggleViews() { - if (m_viewTab[m_tabIndex].primaryView == 0) { + if (m_viewTab[m_tabIndex].secondaryView == 0) { return; }