From a62d7fdd99f3a98f3f8c0b03993e603775270e47 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 18 Mar 2018 15:12:55 +0000 Subject: [PATCH] Choosing an app --- src/freedombone-controlpanel | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index 90e44978..a00ba7d5 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -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