Choosing an app

This commit is contained in:
Bob Mottram 2018-03-18 15:12:55 +00:00
parent 89fb7a5886
commit a62d7fdd99
1 changed files with 3 additions and 3 deletions

View File

@ -1920,11 +1920,11 @@ function menu_app_settings {
# shellcheck disable=SC2086
choice=$(dialog --stdout --backtitle $"Freedombone" \
--title $"Change settings for an App" \
--radiolist $'Choose:' \
26 40 30 $applist)
--menu $'Choose:' \
26 40 30 $applist 3>&2 2>&1 1>&3)
# shellcheck disable=SC2181
if [ $? -eq 0 ]; then
if [ "$choice" ]; then
app_index=$((choice-1))
chosen_app=${appnames[$app_index]}
if [[ $chosen_app != "Exit" ]]; then