mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
GYRO: added reset to configurator
This commit is contained in:
parent
937105914f
commit
a1b9d83f1d
|
@ -1057,12 +1057,12 @@ configurator_reset_dialog() {
|
||||||
--text="Which component do you want to reset to default?" \
|
--text="Which component do you want to reset to default?" \
|
||||||
--column="Component" --column="Action" \
|
--column="Component" --column="Action" \
|
||||||
"BoilR" "Reset BoilR that manages the sync and scraping toward Steam library" \
|
"BoilR" "Reset BoilR that manages the sync and scraping toward Steam library" \
|
||||||
"ES-DE" "Reset the ES-DE frontend" \ )
|
"ES-DE" "Reset the ES-DE frontend" \
|
||||||
# TODO: "GyroDSU" "Reset the gyroscope manager GyroDSU"
|
"GyroDSU" "Reset the gyroscope manager GyroDSU" )
|
||||||
|
|
||||||
case $component_to_reset in
|
case $component_to_reset in
|
||||||
|
|
||||||
"BoilR" | "ES-DE" ) # TODO: GyroDSU
|
"BoilR" | "ES-DE" |"GyroDSU" )
|
||||||
if [[ $(configurator_reset_confirmation_dialog "$component_to_reset" "Are you sure you want to reset $component_to_reset to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
|
if [[ $(configurator_reset_confirmation_dialog "$component_to_reset" "Are you sure you want to reset $component_to_reset to default settings?\n\nThis process cannot be undone.") == "true" ]]; then
|
||||||
prepare_component "reset" "$component_to_reset" "configurator"
|
prepare_component "reset" "$component_to_reset" "configurator"
|
||||||
configurator_process_complete_dialog "resetting $component_to_reset"
|
configurator_process_complete_dialog "resetting $component_to_reset"
|
||||||
|
|
Loading…
Reference in a new issue