Remove duplicated buttons

This commit is contained in:
Henrik Giesel 2020-08-23 17:44:11 +02:00
parent 3287c42ace
commit 90f0df2a52

View File

@ -54,13 +54,10 @@ class Models(QDialog):
("Add", self.onAdd), ("Add", self.onAdd),
("Rename", self.onRename), ("Rename", self.onRename),
("Delete", self.onDelete), ("Delete", self.onDelete),
("Fields...", self.onFields),
("Cards...", self.onCards),
("Options...", self.onAdvanced),
] ]
if self.fromMain: if self.fromMain:
default_buttons.extends([ default_buttons.extend([
("Fields...", self.onFields), ("Fields...", self.onFields),
("Cards...", self.onCards), ("Cards...", self.onCards),
]) ])