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:
parent
99b82bd530
commit
99b912e91e
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue