Fix for slider
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / slider / slider-impl.cpp
index e90c694..37650e4 100755 (executable)
@@ -545,8 +545,11 @@ void Slider::CreateHandleValueDisplay()
 
 void Slider::DestroyHandleValueDisplay()
 {
 
 void Slider::DestroyHandleValueDisplay()
 {
-  mHandleValueTextView.Unparent();
-  mHandleValueTextView.Reset();
+  if(mHandleValueTextView)
+  {
+    mHandleValueTextView.Unparent();
+    mHandleValueTextView.Reset();
+  }
 }
 
 void Slider::UpdatePopupTextColor( const Vector4& color )
 }
 
 void Slider::UpdatePopupTextColor( const Vector4& color )