X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fgtkmm%2Fstate_fill.cpp;h=f4df2baa6dcf81db76d3bd75c0297dee0deb3bf4;hb=a8e9e829fa31a982dca6a9a638e61e57fade8832;hp=60c929a6c74b1e12ed221daf9daa6cac43315260;hpb=a095981e18cc37a8ecc7cd237cc22b9c10329264;p=synfig.git diff --git a/synfig-studio/src/gtkmm/state_fill.cpp b/synfig-studio/src/gtkmm/state_fill.cpp index 60c929a..f4df2ba 100644 --- a/synfig-studio/src/gtkmm/state_fill.cpp +++ b/synfig-studio/src/gtkmm/state_fill.cpp @@ -30,6 +30,7 @@ #endif #include "state_fill.h" +#include "state_normal.h" #include "workarea.h" #include #include "app.h" @@ -121,7 +122,9 @@ Smach::event_result StateFill_Context::event_stop_handler(const Smach::event& /*x*/) { synfig::info("STATE FILL: Received Stop Event"); - throw Smach::egress_exception(); + //throw Smach::egress_exception(); + throw &state_normal; + return Smach::RESULT_OK; // canvas_view->get_smach().pop_state(); // return Smach::RESULT_ACCEPT; }