From 90f0df2a527bd8378a4cfeda8eefa707555bf903 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Sun, 23 Aug 2020 17:44:11 +0200 Subject: [PATCH] Remove duplicated buttons --- qt/aqt/models.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qt/aqt/models.py b/qt/aqt/models.py index 114657351..6af0eefa1 100644 --- a/qt/aqt/models.py +++ b/qt/aqt/models.py @@ -54,13 +54,10 @@ class Models(QDialog): ("Add", self.onAdd), ("Rename", self.onRename), ("Delete", self.onDelete), - ("Fields...", self.onFields), - ("Cards...", self.onCards), - ("Options...", self.onAdvanced), ] if self.fromMain: - default_buttons.extends([ + default_buttons.extend([ ("Fields...", self.onFields), ("Cards...", self.onCards), ])