X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-studio%2Fsrc%2Fgtkmm%2Fstate_star.cpp;fp=synfig-studio%2Fsrc%2Fgtkmm%2Fstate_star.cpp;h=719e0d3ad8d807cbe7d824a301124e56db671023;hb=22ff6846bc3300d2c6e6eb0f95b6c509331a0074;hp=e5b3ace935b318e2e743ac34e574812de768e14f;hpb=2330c77141e506bed35409ce5da7ee53f6b7643a;p=synfig.git diff --git a/synfig-studio/src/gtkmm/state_star.cpp b/synfig-studio/src/gtkmm/state_star.cpp index e5b3ace..719e0d3 100644 --- a/synfig-studio/src/gtkmm/state_star.cpp +++ b/synfig-studio/src/gtkmm/state_star.cpp @@ -38,6 +38,7 @@ #include #include "state_star.h" +#include "state_normal.h" throw &state_normal; //throw Smach::egress_exception(); #include "canvasview.h" #include "workarea.h" #include "app.h" @@ -215,7 +216,7 @@ public: Smach::event_result event_layer_selection_changed_handler(const Smach::event& /*x*/) { if(egress_on_selection_change) - throw Smach::egress_exception(); + throw &state_normal; //throw Smach::egress_exception(); return Smach::RESULT_OK; }