Set retry message when widget image is removed 57/129857/3
authortaeyoon0.lee <taeyoon0.lee@samsung.com>
Thu, 9 Mar 2017 07:25:33 +0000 (16:25 +0900)
committertaeyoon0.lee <taeyoon0.lee@samsung.com>
Thu, 1 Jun 2017 04:42:01 +0000 (13:42 +0900)
 - Fix message omission when fault event doesn't occur for faulted widget in abnormal case

Change-Id: I2072f45c38fa142f274068fa4c6611bd768cc7d9

widget_viewer_dali/internal/widget_view/widget_view_impl.cpp

index 071838d..f9ed21d 100644 (file)
@@ -462,6 +462,8 @@ void WidgetView::RemoveWidgetImage()
     mWidgetImageView.SetVisible( false );
     mWidgetImageView.Reset();
 
+    ShowRetryState( true );
+
     Dali::WidgetView::WidgetView handle( GetOwner() );
     mWidgetDeletedSignal.Emit( handle );
   }
@@ -516,7 +518,6 @@ void WidgetView::SendWidgetEvent( int event )
     }
     case WIDGET_INSTANCE_EVENT_FAULT:
     {
-      ShowRetryState( true );
       mWidgetFaultedSignal.Emit( handle );
       CloseRemoteSurface();
       RemoveWidgetImage();