void WidgetView::OnInheritedVisibilityChanged( Actor actor, bool isVisible )
{
mWidgetVisible = isVisible;
+
+ if(!mCreated)
+ {
+ DALI_LOG_INFO(gWidgetViewLogging, Debug::Verbose, "Do not pause/resume widget, because widget is not created [%p]\n", this);
+ return;
+ }
+
if( mPausedManually )
{
mPaused = ( !mWidgetVisible || IsOutOfScreen());
{
if(!mCreated)
{
- DALI_LOG_INFO( gWidgetViewLogging, Debug::Verbose, "Do not pause/resume widget, because widget is not created [%p]\n", this);
+ DALI_LOG_INFO(gWidgetViewLogging, Debug::Verbose, "Do not pause/resume widget, because widget is not created [%p]\n", this);
return;
}