mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 07:25:38 +00:00
Fix desktop mode warning dialog logging
This commit is contained in:
parent
4895be10db
commit
4a996e9c6b
|
@ -222,7 +222,6 @@ desktop_mode_warning() {
|
||||||
--text="$message")
|
--text="$message")
|
||||||
rc=$? # Capture return code, as "Yes" button has no text value
|
rc=$? # Capture return code, as "Yes" button has no text value
|
||||||
if [[ $rc == "1" ]]; then # If any button other than "Yes" was clicked
|
if [[ $rc == "1" ]]; then # If any button other than "Yes" was clicked
|
||||||
log i "Selected: \"Yes\""
|
|
||||||
if [[ $choice == "No" ]]; then
|
if [[ $choice == "No" ]]; then
|
||||||
log i "Selected: \"No\""
|
log i "Selected: \"No\""
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -230,6 +229,8 @@ desktop_mode_warning() {
|
||||||
log i "Selected: \"Never show this again\""
|
log i "Selected: \"Never show this again\""
|
||||||
set_setting_value $rd_conf "desktop_mode_warning" "false" retrodeck "options" # Store desktop mode warning variable for future checks
|
set_setting_value $rd_conf "desktop_mode_warning" "false" retrodeck "options" # Store desktop mode warning variable for future checks
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
log i "Selected: \"Yes\""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue