Remove duplicated buttons
This commit is contained in:
parent
3287c42ace
commit
90f0df2a52
@ -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),
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user