Choosing an app
This commit is contained in:
parent
89fb7a5886
commit
a62d7fdd99
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue