diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index 5113797a1..69e61c57c 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -1483,7 +1483,6 @@ day = :d""", d=yesterday) self.installTranslation() if getattr(self, 'mainWin', None): self.mainWin.retranslateUi(self) - self.alterShortcuts() anki.lang.setLang(self.config["interfaceLang"], local=False) self.updateTitleBar() @@ -2095,14 +2094,8 @@ Consider backing up your media directory first.""")) def setupSystemHacks(self): self.setupDocumentDir() - self.alterShortcuts() self.changeLayoutSpacing() - def alterShortcuts(self): - if sys.platform.startswith("darwin"): - self.mainWin.actionAddcards.setShortcut(_("Ctrl+D")) - self.mainWin.actionClose.setShortcut("") - def setupDocumentDir(self): if sys.platform.startswith("win32"): s = QSettings(QSettings.UserScope, "Microsoft", "Windows")