Some minor reformatting to satisfy black

This commit is contained in:
Henrik Giesel 2020-08-31 13:50:38 +02:00
parent 5e4324accb
commit 2f68293c74
2 changed files with 10 additions and 5 deletions

View file

@ -57,10 +57,12 @@ class Models(QDialog):
] ]
if self.fromMain: if self.fromMain:
default_buttons.extend([ default_buttons.extend(
(_("Fields..."), self.onFields), [
(_("Cards..."), self.onCards), (_("Fields..."), self.onFields),
]) (_("Cards..."), self.onCards),
]
)
default_buttons.append((_("Options..."), self.onAdvanced)) default_buttons.append((_("Options..."), self.onAdvanced))

View file

@ -685,7 +685,10 @@ hooks = [
), ),
# Model # Model
################### ###################
Hook(name="models_advanced_will_show", args=["advanced: QDialog"],), Hook(
name="models_advanced_will_show",
args=["advanced: QDialog"],
),
Hook( Hook(
name="models_did_init_buttons", name="models_did_init_buttons",
args=[ args=[