]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix sanity check in toggleViews()
authorSebastian Doerner <sebastian@sebastian-doerner.de>
Sat, 8 Jan 2011 19:08:49 +0000 (19:08 +0000)
committerSebastian Doerner <sebastian@sebastian-doerner.de>
Sat, 8 Jan 2011 19:08:49 +0000 (19:08 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=1212950

src/dolphinmainwindow.cpp

index bc5641e1e22901bd3fe0261f3e584ecc2fd5193d..1e60bb98054e4ce24818b1b577146357a471e4da 100644 (file)
@@ -220,7 +220,7 @@ void DolphinMainWindow::openFiles(const QList<KUrl>& files)
 
 void DolphinMainWindow::toggleViews()
 {
-    if (m_viewTab[m_tabIndex].primaryView == 0) {
+    if (m_viewTab[m_tabIndex].secondaryView == 0) {
         return;
     }