Commit 24fdc3e7 authored by Rafael Fernández López's avatar Rafael Fernández López
Browse files

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: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680499
parent 97f5d43c
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment