Fix sanity check in toggleViews()

svn path=/trunk/KDE/kdebase/apps/; revision=1212950
This commit is contained in:
Sebastian Doerner 2011-01-08 19:08:49 +00:00
parent d257bcb21c
commit 6866686dd2

View 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;
}