diff --git a/ankiqt/ui/deckproperties.py b/ankiqt/ui/deckproperties.py index 53d49b2b9..d5cd6ae88 100644 --- a/ankiqt/ui/deckproperties.py +++ b/ankiqt/ui/deckproperties.py @@ -28,6 +28,8 @@ class DeckProperties(QDialog): self.origMod = self.d.modified self.dialog = ankiqt.forms.deckproperties.Ui_DeckProperties() self.dialog.setupUi(self) + self.dialog.buttonBox.button(QDialogButtonBox.Help).setAutoDefault(False) + self.dialog.buttonBox.button(QDialogButtonBox.Close).setAutoDefault(False) self.readData() self.connect(self.dialog.modelsAdd, SIGNAL("clicked()"), self.onAdd) self.connect(self.dialog.modelsEdit, SIGNAL("clicked()"), self.onEdit) diff --git a/designer/deckproperties.ui b/designer/deckproperties.ui index c27cbd9d4..b54b2a947 100644 --- a/designer/deckproperties.ui +++ b/designer/deckproperties.ui @@ -25,14 +25,6 @@ 0 - - - 0 - 0 - 410 - 334 - - Models && Priorities @@ -139,6 +131,9 @@ &Add + + false + @@ -146,6 +141,9 @@ &Edit + + false + @@ -153,6 +151,9 @@ &Delete + + false + @@ -160,14 +161,6 @@ - - - 0 - 0 - 375 - 334 - - Synchronisation @@ -300,14 +293,6 @@ p, li { white-space: pre-wrap; } - - - 0 - 0 - 346 - 356 - - Advanced