From 800768fe4e00592ceb652fec9e3c433737634280 Mon Sep 17 00:00:00 2001 From: icenine451 <59938822+icenine451@users.noreply.github.com> Date: Sat, 29 Mar 2025 21:28:45 -0400 Subject: [PATCH] Add logging level change confirmation to Zenity Configurator --- tools/configurator.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/configurator.sh b/tools/configurator.sh index 20d9735f..c907013c 100755 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -625,21 +625,25 @@ configurator_tools_dialog() { "Level 1: Informational" ) log i "Configurator: Changing logging level to \"$choice\"" set_setting_value "$rd_conf" "logging_level" "info" "retrodeck" "options" + configurator_generic_dialog "RetroDECK Configurator - Change Logging Level" "The logging level has been changed to Level 1: Informational" ;; "Level 2: Warnings" ) log i "Configurator: Changing logging level to \"$choice\"" set_setting_value "$rd_conf" "logging_level" "warn" "retrodeck" "options" + configurator_generic_dialog "RetroDECK Configurator - Change Logging Level" "The logging level has been changed to Level 2: Warnings" ;; "Level 3: Errors" ) log i "Configurator: Changing logging level to \"$choice\"" set_setting_value "$rd_conf" "logging_level" "error" "retrodeck" "options" + configurator_generic_dialog "RetroDECK Configurator - Change Logging Level" "The logging level has been changed to Level 3: Errors" ;; "Level 4: Debug" ) log i "Configurator: Changing logging level to \"$choice\"" set_setting_value "$rd_conf" "logging_level" "debug" "retrodeck" "options" + configurator_generic_dialog "RetroDECK Configurator - Change Logging Level" "The logging level has been changed to Level 4: Debug" ;; "" ) # No selection made or Back button clicked