X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fgtkmm%2Fstate_text.cpp;h=68508ea8bed3c7868eefaec3b8aab1954b1cd6eb;hb=c2ec9c5bdc4e8b21ab86a5a1c0825b07003f28c3;hp=0ee03ace8df69e4b450538aab5e29ff109cb61d9;hpb=921fdb078945d6d08cfc9d3025486b338fe043b1;p=synfig.git diff --git a/synfig-studio/src/gtkmm/state_text.cpp b/synfig-studio/src/gtkmm/state_text.cpp index 0ee03ac..68508ea 100644 --- a/synfig-studio/src/gtkmm/state_text.cpp +++ b/synfig-studio/src/gtkmm/state_text.cpp @@ -358,7 +358,9 @@ StateText_Context::~StateText_Context() Smach::event_result StateText_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