diff --git a/effects/flipswitch.cpp b/effects/flipswitch.cpp index 5da60a1416..3664323a6d 100644 --- a/effects/flipswitch.cpp +++ b/effects/flipswitch.cpp @@ -444,7 +444,7 @@ void FlipSwitchEffect::tabBoxUpdated() { if( mActivated ) { - if( mAnimation ) + if( mAnimation && effects->currentTabBoxWindowList().count() > 1 ) { // determine the switch direction int index = effects->currentTabBoxWindowList().indexOf(effects->currentTabBoxWindow());