diff --git a/CONTRIBUTORS b/CONTRIBUTORS index b0002241c28..7f42d0851d4 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -197,6 +197,7 @@ twwn Shirish Pokhrel Park Hyunwoo Tomas Fabrizio Orsi +Yousef Hindy ******************** diff --git a/qt/aqt/main.py b/qt/aqt/main.py index 2936d79694d..87539acc665 100644 --- a/qt/aqt/main.py +++ b/qt/aqt/main.py @@ -1414,6 +1414,10 @@ def setupMenus(self) -> None: ) m.actionFullScreen.setShortcutContext(Qt.ShortcutContext.ApplicationShortcut) + # Set zoom shortcuts manually + m.actionZoomIn.setShortcut(QKeySequence("Ctrl++")) + m.actionZoomOut.setShortcut(QKeySequence("Ctrl+-")) + def updateTitleBar(self) -> None: self.setWindowTitle("Anki")