ui/ncurses: Disable autoboot if boot list is empty
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 4 Apr 2016 05:14:07 +0000 (15:14 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 5 Apr 2016 00:50:23 +0000 (10:50 +1000)
commit8364bca5ca92c24061fe222a61e357af8315d151
tree43707debd47d24e8584ce82ff870c74d065a5a92
parent776ef3ee90ecb04b3eff1398bbefd91825864789
ui/ncurses: Disable autoboot if boot list is empty

If an empty boot order is saved disable autoboot. However don't set
autoboot_enabled to false by clearing the list, as this will hide the
list when it is likely the user wants to make changes.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
ui/ncurses/nc-config.c