SVN_SILENT Fix crash in box switch.
CCBUG: 185239 svn path=/trunk/KDE/kdebase/workspace/; revision=930005
This commit is contained in:
parent
3b5ddddbc3
commit
c1d5937a66
1 changed files with 2 additions and 1 deletions
|
@ -495,7 +495,8 @@ void BoxSwitchEffect::setSelectedWindow( EffectWindow* w )
|
|||
effects->setElevatedWindow( selected_window, false );
|
||||
}
|
||||
selected_window = w;
|
||||
thumbnailFrame.setText( selected_window->caption() );
|
||||
if( selected_window )
|
||||
thumbnailFrame.setText( selected_window->caption() );
|
||||
if( elevate_window && w )
|
||||
{
|
||||
effects->setElevatedWindow( selected_window, true );
|
||||
|
|
Loading…
Reference in a new issue