Enable Stop button and ESC key to change to Normal Tool for the Circle, Draw,
[synfig.git] / synfig-studio / src / gtkmm / state_rectangle.cpp
index 29fe0a9..5f09681 100644 (file)
@@ -445,7 +445,9 @@ StateRectangle_Context::~StateRectangle_Context()
 Smach::event_result
 StateRectangle_Context::event_stop_handler(const Smach::event& /*x*/)
 {
-       throw Smach::egress_exception();
+       //throw Smach::egress_exception();
+       throw &state_normal;
+       return Smach::RESULT_OK;
 }
 
 Smach::event_result