Fix confusing complete dialog from cancelling empty ROM folder removal

This commit is contained in:
icenine451 2024-06-20 13:48:40 -04:00
parent d6748e567d
commit 3dd31d1c04

View file

@ -609,14 +609,15 @@ configurator_retrodeck_tools_dialog() {
log i "Removing empty folder $folder"
rm -f "$folder"
done
configurator_generic_dialog "RetroDECK Configurator - Remove Empty ROM Folders" "The removal process is complete."
elif [[ ! -z $choice ]]; then # User clicked "Remove All"
for folder in "${all_empty_folders[@]}"; do
log i "Removing empty folder $folder"
rm -f "$folder"
done
configurator_generic_dialog "RetroDECK Configurator - Remove Empty ROM Folders" "The removal process is complete."
fi
configurator_generic_dialog "RetroDECK Configurator - Remove Empty ROM Folders" "The removal process is complete."
configurator_retrodeck_tools_dialog
;;