┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Fernández López <[email protected]>2007-06-26 11:50:54 +0000
committerRafael Fernández López <[email protected]>2007-06-26 11:50:54 +0000
commit14a666ce8d7cc980b2d14a4499c250dc15c1a998 (patch)
tree9059e7ee8e16c251b2c133d98b29e958d6531787
parentd57134a03338de4230405081f2e22d196382d589 (diff)
Fix crash. Steps to reproduce:
* Open Dolphin. Enable categorization. * Split the view. Disable categorization on the right one. * Join the views. I am not sure if this is the best way to proceed for this small bug. Please Peter, take a look. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=680499
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index bfde4da66..98a91327f 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -1041,7 +1041,7 @@ void DolphinMainWindow::init()
void DolphinMainWindow::setActiveViewContainer(DolphinViewContainer* view)
{
Q_ASSERT((view == m_viewContainer[PrimaryView]) || (view == m_viewContainer[SecondaryView]));
- if (m_activeViewContainer == view) {
+ if (m_activeViewContainer == view || !view) {
return;
}