From b9c5f2aa6150b50ecf43db76a87aa0ec6bb03928 Mon Sep 17 00:00:00 2001 From: Daniel McEwen Date: Tue, 5 Mar 2019 11:41:59 +0000 Subject: [PATCH] Grid layout crash Issue in toolkit code addressed, work around can be removed Change-Id: Ie0f0d586bfc184d05aa29d17a09790476feceb01 --- examples/layouting/animation-example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/layouting/animation-example.cpp b/examples/layouting/animation-example.cpp index 3b2c0a9..09fa121 100644 --- a/examples/layouting/animation-example.cpp +++ b/examples/layouting/animation-example.cpp @@ -461,7 +461,7 @@ bool AnimationExample::OnRemoveClicked( Button button ) { DALI_LOG_INFO( gLayoutFilter, Debug::Verbose, "AnimationExample::OnRemoveClicked\n"); - if ( mAnimationContainer.GetChildCount() > 1 ) + if ( mAnimationContainer.GetChildCount() > 0 ) { mAnimationContainer.Remove( mAnimationContainer.GetChildAt( mAnimationContainer.GetChildCount() - 1 ) ); } -- 2.7.4