mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-04 22:43:17 +08:00
Adding Confirm Window
This commit is contained in:
parent
599dba7c5c
commit
ed859cc4e0
@ -83,7 +83,9 @@ class PluginSettingsWindow(ba.Window):
|
|||||||
autoselect=True,
|
autoselect=True,
|
||||||
label=ba.Lstr(resource='pluginsEnableAllText'),
|
label=ba.Lstr(resource='pluginsEnableAllText'),
|
||||||
text_scale=1.0,
|
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
|
self._y_position -= 70
|
||||||
@ -94,7 +96,9 @@ class PluginSettingsWindow(ba.Window):
|
|||||||
autoselect=True,
|
autoselect=True,
|
||||||
label=ba.Lstr(resource='pluginsDisableAllText'),
|
label=ba.Lstr(resource='pluginsDisableAllText'),
|
||||||
text_scale=1.0,
|
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
|
self._y_position -= 70
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user