Commit b9c5f2aa6150b50ecf43db76a87aa0ec6bb03928

Authored by Daniel McEwen
1 parent b00a255c

Grid layout crash

Issue in toolkit code addressed, work around can be removed

Change-Id: Ie0f0d586bfc184d05aa29d17a09790476feceb01
examples/layouting/animation-example.cpp
... ... @@ -461,7 +461,7 @@ bool AnimationExample::OnRemoveClicked( Button button )
461 461 {
462 462 DALI_LOG_INFO( gLayoutFilter, Debug::Verbose, "AnimationExample::OnRemoveClicked\n");
463 463  
464   - if ( mAnimationContainer.GetChildCount() > 1 )
  464 + if ( mAnimationContainer.GetChildCount() > 0 )
465 465 {
466 466 mAnimationContainer.Remove( mAnimationContainer.GetChildAt( mAnimationContainer.GetChildCount() - 1 ) );
467 467 }
... ...