mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix incorrect use of provided API
The result of which was incorrectly sized menu dialogs
This commit is contained in:
parent
ea2e60b01c
commit
6ea6e3fa7d
1 changed files with 4 additions and 6 deletions
|
|
@ -108,9 +108,8 @@ dialog_country_select()
|
|||
}
|
||||
}' | sort -k 2 | tr '\n' ' ' )
|
||||
|
||||
f_dialog_menu_size height width rows \"Regdomain selection\" \
|
||||
\"$DIALOG_BACKTITLE\" \"Select your regdomain.\" \
|
||||
\"\" $regdomains
|
||||
f_dialog_menu_size height width rows "Regdomain selection" \
|
||||
"$DIALOG_BACKTITLE" "Select your regdomain." "" $regdomains
|
||||
regdomain=$( sh -c "$DIALOG \
|
||||
--backtitle \"$DIALOG_BACKTITLE\" \
|
||||
--title \"Regdomain selection\" \
|
||||
|
|
@ -122,9 +121,8 @@ dialog_country_select()
|
|||
$height $width $rows $regdomains"
|
||||
)
|
||||
|
||||
f_dialog_menu_size height width rows \"Country selection\" \
|
||||
\"$DIALOG_BACKTITLE\" \"Select your country.\" \
|
||||
\"\" $countries
|
||||
f_dialog_menu_size height width rows "Country selection" \
|
||||
"$DIALOG_BACKTITLE" "Select your country." "" $countries
|
||||
country=$( sh -c "$DIALOG \
|
||||
--backtitle \"$DIALOG_BACKTITLE\" \
|
||||
--title \"Country selection\" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue