Add gui_hook models_did_init_buttons

This commit is contained in:
Henrik Giesel 2020-08-31 13:35:01 +02:00
parent 0c3fad7386
commit 0d1b90e512

View File

@ -685,9 +685,12 @@ hooks = [
),
# Model
###################
Hook(name="models_advanced_will_show", args=["advanced: QDialog"],),
Hook(
name="models_advanced_will_show",
args=["advanced: QDialog"],
name="models_did_init_buttons",
args=["buttons: List[Tuple[str, Callable[[Models], None]]]", "models: Models"],
return_type="buttons: List[Tuple[str, Callable[[Models], None]]]",
doc="""Allows adding buttons to the Model dialog""",
),
# Stats
###################