menu_choice --no-cancel

This commit is contained in:
Bernhard Landauer 2017-03-03 03:10:51 +01:00
parent 2bcf72354e
commit 3cb00a9726

View File

@ -286,7 +286,7 @@ check_requirements() {
# This will only be executed where neither of the above checks are true. # This will only be executed where neither of the above checks are true.
# The error log is also cleared, just in case something is there from a previous use of the installer. # The error log is also cleared, just in case something is there from a previous use of the installer.
DIALOG "\n $_ReqMetTitle $_UpdDb\n\n" --infobox "$_ReqMetBody" 0 0 DIALOG "$_ReqMetTitle" --infobox "\n $_ReqMetBody $_UpdDb\n\n" 0 0
sleep 2 sleep 2
clear clear
echo "" > $ERR echo "" > $ERR
@ -301,7 +301,7 @@ greeting() {
# Choose between the compact and extended installer menu # Choose between the compact and extended installer menu
menu_choice() { menu_choice() {
DIALOG "$_ChMenu" --radiolist "\n\n$_ChMenuBody\n" 0 0 2 \ DIALOG "$_ChMenu" --no-cancel --radiolist "\n$_ChMenuBody\n\n$_UseSpaceBar" 0 0 2 \
"regular" "" on \ "regular" "" on \
"advanced" "" off 2>${ANSWER} "advanced" "" off 2>${ANSWER}
menu_opt=$(cat ${ANSWER}) menu_opt=$(cat ${ANSWER})