diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index f601526a..cad3def2 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -941,10 +941,10 @@ function restore_data_from_storage { n=$[n+1] app_list+=("$ExitStr") - choices=$(dialog --stdout --backtitle $"Freedombone" \ - --title $"Restore apps" \ - --radiolist $'Choose:' \ - 30 40 20 $applist) + choice=$(dialog --stdout --backtitle $"Freedombone" \ + --title $"Restore apps" \ + --radiolist $'Choose:' \ + 30 40 20 $applist) if [ $? -ne 0 ]; then break @@ -959,7 +959,7 @@ function restore_data_from_storage { fi clear - echo $"Selected $selected_index $app_name" + echo $"Selected $app_index $app_name" # Restore all if [[ "$app_name" == "$AllStr" ]]; then