#endif
#include "state_fill.h"
+#include "state_normal.h"
#include "workarea.h"
#include <synfig/context.h>
#include "app.h"
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;
}