Adding Confirm Window

This commit is contained in:
Vishal 2023-01-23 18:31:56 +05:30 committed by GitHub
parent 599dba7c5c
commit ed859cc4e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,7 +83,9 @@ class PluginSettingsWindow(ba.Window):
autoselect=True,
label=ba.Lstr(resource='pluginsEnableAllText'),
text_scale=1.0,
on_activate_call=self._enable_all_plugins,
on_activate_call=lambda: ConfirmWindow(
action=self._enable_all_plugins,
)
)
self._y_position -= 70
@ -94,7 +96,9 @@ class PluginSettingsWindow(ba.Window):
autoselect=True,
label=ba.Lstr(resource='pluginsDisableAllText'),
text_scale=1.0,
on_activate_call=self._disable_all_plugins,
on_activate_call=lambda: ConfirmWindow(
action=self._disable_all_plugins,
)
)
self._y_position -= 70