From eca4547521a1cf45b6359700ce6dd44b7caf3a1f Mon Sep 17 00:00:00 2001 From: Yunchan Cho Date: Fri, 2 Nov 2012 11:47:48 +0900 Subject: [PATCH] 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 --- src/api_new/runnable_widget_object_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4