Choosing an app
This commit is contained in:
parent
89fb7a5886
commit
a62d7fdd99
|
@ -1920,11 +1920,11 @@ function menu_app_settings {
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
choice=$(dialog --stdout --backtitle $"Freedombone" \
|
choice=$(dialog --stdout --backtitle $"Freedombone" \
|
||||||
--title $"Change settings for an App" \
|
--title $"Change settings for an App" \
|
||||||
--radiolist $'Choose:' \
|
--menu $'Choose:' \
|
||||||
26 40 30 $applist)
|
26 40 30 $applist 3>&2 2>&1 1>&3)
|
||||||
|
|
||||||
# shellcheck disable=SC2181
|
# shellcheck disable=SC2181
|
||||||
if [ $? -eq 0 ]; then
|
if [ "$choice" ]; then
|
||||||
app_index=$((choice-1))
|
app_index=$((choice-1))
|
||||||
chosen_app=${appnames[$app_index]}
|
chosen_app=${appnames[$app_index]}
|
||||||
if [[ $chosen_app != "Exit" ]]; then
|
if [[ $chosen_app != "Exit" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue