// Turn off layer clicking
get_work_area()->set_allow_layer_clicks(false);
- get_canvas_view()->work_area->set_cursor(Gdk::CROSSHAIR);
+ get_work_area()->set_cursor(Gdk::CROSSHAIR);
// clear out the ducks
get_work_area()->clear_ducks();
// Restore layer clicking
// get_work_area()->set_allow_layer_clicks(prev_workarea_layer_status_);
get_work_area()->set_allow_layer_clicks(true);
- get_canvas_view()->work_area->reset_cursor();
+ get_work_area()->reset_cursor();
App::dialog_tool_options->clear();
Smach::event_result
StateGradient_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