Remove redundant cursor modification for the Mirror tool. Tries to fix a bug in Windo...
authorCarlos Lopez <genetita@gmail.com>
Wed, 19 May 2010 15:46:46 +0000 (17:46 +0200)
committerCarlos Lopez <genetita@gmail.com>
Wed, 19 May 2010 15:46:46 +0000 (17:46 +0200)
synfig-studio/src/gtkmm/mod_mirror/state_mirror.cpp

index bcb0a3a..9316b29 100644 (file)
@@ -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