From 3f0ed66066b8943da6e0945248b024d36edeef49 Mon Sep 17 00:00:00 2001 From: machinewrapped Date: Mon, 3 Jun 2024 19:54:42 +0200 Subject: [PATCH] Fix keyboard shortcut for redo --- GUI/ProjectActions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUI/ProjectActions.py b/GUI/ProjectActions.py index 960acd3..f26353a 100644 --- a/GUI/ProjectActions.py +++ b/GUI/ProjectActions.py @@ -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