mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
Add logging level change confirmation to Zenity Configurator
This commit is contained in:
parent
1864756205
commit
800768fe4e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue