X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fgtkmm%2Fstate_width.cpp;h=8c74daac5b77300724c7791c4eb6a7414ad3e7f9;hb=88d0898e8d994becc958e0b9cb5b845874b9ee1f;hp=1c7ef4ff2824cb4b00f5d867f9e5fee36e3d7142;hpb=a095981e18cc37a8ecc7cd237cc22b9c10329264;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