Skip to content

Commit

Permalink
Changed redo shortcut to Ctr+Y (Win)/Shift+Ctrl+Z (Linux) (#1811)
Browse files Browse the repository at this point in the history
Also Ctrl+Z/Shift+Ctrl+Z is changed to Cmd+Z/Shift+Cmd+Z for MacOS
  • Loading branch information
Keyikedalube authored Oct 29, 2020
1 parent 8e712de commit 207f7d7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions synfig-studio/src/gui/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1365,8 +1365,12 @@ DEFINE_ACTION("keyframe-properties", _("Properties"));
ACCEL("<Control>8", "<Actions>/canvasview/quality-08" );
ACCEL("<Control>9", "<Actions>/canvasview/quality-09" );
ACCEL("<Control>0", "<Actions>/canvasview/quality-10" );
ACCEL("<Control>z", "<Actions>/action_group_dock_history/undo" );
ACCEL("<Control>r", "<Actions>/action_group_dock_history/redo" );
ACCEL("<Primary>z", "<Actions>/action_group_dock_history/undo");
#if _WIN32
ACCEL("<Control>y", "<Actions>/action_group_dock_history/redo");
#else
ACCEL("<Primary><Shift>z", "<Actions>/action_group_dock_history/redo");
#endif
ACCEL2(Gtk::AccelKey(GDK_KEY_Delete,Gdk::ModifierType(), "<Actions>/action_group_layer_action_manager/action-LayerRemove" ));
ACCEL2(Gtk::AccelKey('(',Gdk::CONTROL_MASK, "<Actions>/canvasview/decrease-low-res-pixel-size" ));
ACCEL2(Gtk::AccelKey(')',Gdk::CONTROL_MASK, "<Actions>/canvasview/increase-low-res-pixel-size" ));
Expand Down

0 comments on commit 207f7d7

Please sign in to comment.