// Refresh the work area
get_work_area()->queue_draw();
- get_canvas_view()->work_area->set_cursor(Gdk::DOTBOX);
+ get_work_area()->set_cursor(Gdk::DOTBOX);
// Hide the tables if they are showing
//prev_table_status=get_canvas_view()->tables_are_visible();
// Restore layer clicking
get_work_area()->set_allow_layer_clicks(prev_workarea_layer_status_);
- get_canvas_view()->work_area->reset_cursor();
+ get_work_area()->reset_cursor();
App::dialog_tool_options->clear();
Smach::event_result
StateRectangle_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