From 2499f2ae34835316c1c5cea252b55d202f299637 Mon Sep 17 00:00:00 2001 From: RumovZ Date: Tue, 2 Feb 2021 11:57:35 +0100 Subject: [PATCH] Remove standard button translations --- qt/aqt/dyndeckconf.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qt/aqt/dyndeckconf.py b/qt/aqt/dyndeckconf.py index c32a6e3f2..fe1d794c6 100644 --- a/qt/aqt/dyndeckconf.py +++ b/qt/aqt/dyndeckconf.py @@ -84,10 +84,6 @@ class DeckConf(QDialog): without_unicode_isolation(tr(TR.ACTIONS_OPTIONS_FOR, val=self.deck["name"])) ) self.form.buttonBox.button(QDialogButtonBox.Ok).setText(label) - self.form.buttonBox.button(QDialogButtonBox.Cancel).setText( - tr(TR.ACTIONS_CANCEL) - ) - self.form.buttonBox.button(QDialogButtonBox.Help).setText(tr(TR.ACTIONS_HELP)) if self.mw.col.schedVer() == 1: self.form.secondFilter.setVisible(False) restoreGeom(self, "dyndeckconf")