Zenity progress dialog was losing empty rom folder array information

This commit is contained in:
icenine451 2024-06-21 21:27:35 -04:00
parent 9e4e7874d0
commit 64873f5691

View file

@ -586,15 +586,9 @@ configurator_retrodeck_tools_dialog() {
"Tool: Remove Empty ROM Folders" ) "Tool: Remove Empty ROM Folders" )
log i "Configurator: opening \"$choice\" menu" log i "Configurator: opening \"$choice\" menu"
(
find_empty_rom_folders configurator_generic_dialog "RetroDECK Configurator - Remove Empty ROM Folders" "Searching for empty rom folders, please be patient..."
) | find_empty_rom_folders
zenity --progress --no-cancel --pulsate --auto-close \
--icon-name=net.retrodeck.retrodeck \
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
--title="Finding Empty ROM Folders" \
--width=400 --height=200 \
--text="Finding empty ROM folders, please be patient.\n\n"
choice=$(zenity \ choice=$(zenity \
--list --width=1200 --height=720 --title "RetroDECK Configurator - RetroDECK: Remove Empty ROM Folders" \ --list --width=1200 --height=720 --title "RetroDECK Configurator - RetroDECK: Remove Empty ROM Folders" \