mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +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"
|
log i "Removing empty folder $folder"
|
||||||
rm -f "$folder"
|
rm -f "$folder"
|
||||||
done
|
done
|
||||||
|
configurator_generic_dialog "RetroDECK Configurator - Remove Empty ROM Folders" "The removal process is complete."
|
||||||
elif [[ ! -z $choice ]]; then # User clicked "Remove All"
|
elif [[ ! -z $choice ]]; then # User clicked "Remove All"
|
||||||
for folder in "${all_empty_folders[@]}"; do
|
for folder in "${all_empty_folders[@]}"; do
|
||||||
log i "Removing empty folder $folder"
|
log i "Removing empty folder $folder"
|
||||||
rm -f "$folder"
|
rm -f "$folder"
|
||||||
done
|
done
|
||||||
|
configurator_generic_dialog "RetroDECK Configurator - Remove Empty ROM Folders" "The removal process is complete."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
configurator_generic_dialog "RetroDECK Configurator - Remove Empty ROM Folders" "The removal process is complete."
|
|
||||||
configurator_retrodeck_tools_dialog
|
configurator_retrodeck_tools_dialog
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue