Forward port rev 1134110: Fix crash when trying to group a window without decorations.
CCBUG: 222816 svn path=/trunk/KDE/kdebase/workspace/; revision=1134111
This commit is contained in:
parent
fa2318b374
commit
0e2f0eb20d
1 changed files with 1 additions and 1 deletions
|
@ -428,7 +428,7 @@ void Workspace::initAddToTabGroup()
|
||||||
|
|
||||||
void Workspace::slotAddToTabGroup( QAction* action )
|
void Workspace::slotAddToTabGroup( QAction* action )
|
||||||
{
|
{
|
||||||
if( !action->data().isValid() )
|
if( !action->data().isValid() || !active_popup_client->clientGroup() )
|
||||||
return;
|
return;
|
||||||
moveItemToClientGroup( active_popup_client->clientGroup(),
|
moveItemToClientGroup( active_popup_client->clientGroup(),
|
||||||
active_popup_client->clientGroup()->indexOfClient( active_popup_client ),
|
active_popup_client->clientGroup()->indexOfClient( active_popup_client ),
|
||||||
|
|
Loading…
Reference in a new issue