Commit b8b82308 authored by Dirk Mueller's avatar Dirk Mueller
Browse files

fix assertion failure when exiting the last tab

of a window (which crashed all other konsole windows)

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=793298
parent 79825dc6
......@@ -597,7 +597,8 @@ void TabbedViewContainerV2::moveViewWidget( int fromIndex , int toIndex )
void TabbedViewContainerV2::currentTabChanged(int index)
emit activeViewChanged(_stackWidget->widget(index));
if (_stackWidget->widget(index))
emit activeViewChanged(_stackWidget->widget(index));
// clear activity indicators
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