From: Carlos Lopez Date: Wed, 19 May 2010 15:46:46 +0000 (+0200) Subject: Remove redundant cursor modification for the Mirror tool. Tries to fix a bug in Windo... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=729725ca3669f2f88d3f308e7484e8ca65b39a6d;p=synfig.git Remove redundant cursor modification for the Mirror tool. Tries to fix a bug in Windows version --- diff --git a/synfig-studio/src/gtkmm/mod_mirror/state_mirror.cpp b/synfig-studio/src/gtkmm/mod_mirror/state_mirror.cpp index bcb0a3a..9316b29 100644 --- a/synfig-studio/src/gtkmm/mod_mirror/state_mirror.cpp +++ b/synfig-studio/src/gtkmm/mod_mirror/state_mirror.cpp @@ -217,7 +217,7 @@ StateMirror_Context::key_event(GdkEventKey *event) if (event->keyval==GDK_Shift_L || event->keyval==GDK_Shift_R ) { set_axis(get_axis()==AXIS_X ? AXIS_Y:AXIS_X); - get_work_area()->set_cursor(get_axis() == AXIS_X?Gdk::SB_H_DOUBLE_ARROW:Gdk::SB_V_DOUBLE_ARROW); + update_axes(); } return false; //Pass on the event to other handlers, just in case