X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-studio%2Fsrc%2Fgtkmm%2Fstate_width.cpp;h=8c74daac5b77300724c7791c4eb6a7414ad3e7f9;hb=5455fd235a45b9a9274a6113555ec1f4688353e2;hp=1c7ef4ff2824cb4b00f5d867f9e5fee36e3d7142;hpb=adfc80c126f482d7ea2bac38001a2c4a7c7df88c;p=synfig.git diff --git a/synfig-studio/src/gtkmm/state_width.cpp b/synfig-studio/src/gtkmm/state_width.cpp index 1c7ef4f..8c74daa 100644 --- a/synfig-studio/src/gtkmm/state_width.cpp +++ b/synfig-studio/src/gtkmm/state_width.cpp @@ -39,6 +39,7 @@ #include #include "state_width.h" +#include "state_normal.h" #include "canvasview.h" #include "workarea.h" #include "app.h" @@ -356,7 +357,9 @@ StateWidth_Context::~StateWidth_Context() Smach::event_result StateWidth_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