Disable animation if there is only one window.
BUG: 157292 svn path=/trunk/KDE/kdebase/workspace/; revision=771972
This commit is contained in:
parent
cbb36dc0ba
commit
88fac4ee64
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue