X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fgtkmm%2Fstate_rectangle.cpp;h=5f096811e513f99c5b710ae0b5c28ffc4fa1cb48;hb=c2ec9c5bdc4e8b21ab86a5a1c0825b07003f28c3;hp=54fb072ec4fb6f8e4bd812524f5b7afb41ad50b5;hpb=22ff6846bc3300d2c6e6eb0f95b6c509331a0074;p=synfig.git diff --git a/synfig-studio/src/gtkmm/state_rectangle.cpp b/synfig-studio/src/gtkmm/state_rectangle.cpp index 54fb072..5f09681 100644 --- a/synfig-studio/src/gtkmm/state_rectangle.cpp +++ b/synfig-studio/src/gtkmm/state_rectangle.cpp @@ -386,7 +386,7 @@ StateRectangle_Context::StateRectangle_Context(CanvasView* canvas_view): // Refresh the work area get_work_area()->queue_draw(); - get_canvas_view()->work_area->set_cursor(Gdk::CROSSHAIR); + get_canvas_view()->work_area->set_cursor(Gdk::DOTBOX); // Hide the tables if they are showing //prev_table_status=get_canvas_view()->tables_are_visible(); @@ -445,7 +445,9 @@ StateRectangle_Context::~StateRectangle_Context() 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