From: Yunchan Cho Date: Fri, 2 Nov 2012 02:47:48 +0000 (+0900) Subject: Modify state change when showed state changes to showed state X-Git-Tag: 2.1b_release~22^2~238 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eca4547521a1cf45b6359700ce6dd44b7caf3a1f;p=platform%2Fframework%2Fweb%2Fwrt.git Modify state change when showed state changes to showed state [Issue#] N/A [Problem] Some case doesn't need to change state [Cause] N/A [Solution] Change function to NoChange Change-Id: Ie85eeeaea10ed30a1c4e309f9bab2aad19652e3a --- diff --git a/src/api_new/runnable_widget_object_state.cpp b/src/api_new/runnable_widget_object_state.cpp index ef30b04..86deb2c 100644 --- a/src/api_new/runnable_widget_object_state.cpp +++ b/src/api_new/runnable_widget_object_state.cpp @@ -222,7 +222,7 @@ StateChange ShowedState::allowReload() StateChange ShowedState::allowReset() { - return StateChange(RunnableWidgetObjectStatePtr(new ShowedState(m_object))); + return StateChange::NoChange; } SuspendedState::SuspendedState(RunnableWidgetObject & object) : RunnableWidgetObjectState(object)