SVN_SILENT Fix crash in box switch.

CCBUG: 185239

svn path=/trunk/KDE/kdebase/workspace/; revision=930005
This commit is contained in:
Lucas Murray 2009-02-22 14:49:23 +00:00
parent 3b5ddddbc3
commit c1d5937a66

View file

@ -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 );