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