mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
Fix confusing complete dialog from cancelling empty ROM folder removal
This commit is contained in:
parent
d6748e567d
commit
3dd31d1c04
|
@ -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
|
||||
;;
|
||||
|
||||
|
|
Loading…
Reference in a new issue