catch client_group on caption change, caused segfault after switchiing between tabbing and non-tabbing decos

svn path=/trunk/KDE/kdebase/workspace/; revision=1062020
This commit is contained in:
Thomas Lübking 2009-12-13 15:23:22 +00:00
parent 99b82bd530
commit 99b912e91e

View file

@ -1628,7 +1628,8 @@ void Client::setCaption( const QString& _s, bool force )
if( isManaged() && decoration != NULL ) if( isManaged() && decoration != NULL )
{ {
client_group->updateItems(); if (client_group)
client_group->updateItems();
decoration->captionChange(); decoration->captionChange();
} }
} }