Skip to content

Commit

Permalink
Fix keyboard shortcut for redo
Browse files Browse the repository at this point in the history
  • Loading branch information
machinewrapped committed Jun 3, 2024
1 parent e3cfde3 commit 3f0ed66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GUI/ProjectActions.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(self, mainwindow : QMainWindow = None, datamodel : ProjectDataModel
self.AddAction('Start Translating Fast', self._start_translating_fast, QStyle.StandardPixmap.SP_MediaSeekForward, 'Ctrl+Shift+T', 'Start translating on multiple threads (fast but unsafe)')
self.AddAction('Stop Translating', self._stop_translating, QStyle.StandardPixmap.SP_MediaStop, 'Esc', 'Stop translation')
self.AddAction("Undo", self.undoLastCommand, QStyle.StandardPixmap.SP_ArrowBack, 'Ctrl+Z', 'Undo last action')
self.AddAction("Redo", self.redoLastCommand, QStyle.StandardPixmap.SP_ArrowForward, 'Ctrl+Sift+Z', 'Redo last undone action')
self.AddAction("Redo", self.redoLastCommand, QStyle.StandardPixmap.SP_ArrowForward, 'Ctrl+Shift+Z', 'Redo last undone action')
self.AddAction('About', self.showAboutDialog, QStyle.StandardPixmap.SP_MessageBoxInformation, tooltip='About this program')

#TODO: Mixing different concepts of "action" here - should just be able to pass a ProjectActions instance around
Expand Down

0 comments on commit 3f0ed66

Please sign in to comment.