don't animate before being initially painted
This commit is contained in:
parent
045059b71d
commit
713c80c805
@ -143,7 +143,7 @@ void QskStackBox::setCurrentIndex( int index )
|
||||
if ( animator )
|
||||
animator->stop();
|
||||
|
||||
if ( window() && isVisible() && animator )
|
||||
if ( window() && isVisible() && isInitiallyPainted() && animator )
|
||||
{
|
||||
// When being hidden, the geometry is not updated.
|
||||
// So we do it now.
|
||||
|
Loading…
x
Reference in New Issue
Block a user