From c4b4ebc4c61b7f374582c621aec846aba3795954 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Tue, 19 Nov 2013 16:08:35 +1100 Subject: ui/ncurses: Allow boot editor sysinfo updates We may start a boot editor (via 'New') before we have the sysinfo. To allow this, we redraw the device select. Signed-off-by: Jeremy Kerr --- ui/ncurses/nc-cui.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ui/ncurses/nc-cui.c') diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c index 107539b..5f1a5e4 100644 --- a/ui/ncurses/nc-cui.c +++ b/ui/ncurses/nc-cui.c @@ -522,10 +522,14 @@ static void cui_update_sysinfo(struct system_info *sysinfo, void *arg) if (cui->sysinfo_screen) sysinfo_screen_update(cui->sysinfo_screen, sysinfo); - /* ... and do the same with the config screen */ + /* ... and do the same with the config screen... */ if (cui->config_screen) config_screen_update(cui->config_screen, cui->config, sysinfo); + /* ... and the boot editor. */ + if (cui->boot_editor) + boot_editor_update(cui->boot_editor, sysinfo); + cui_update_mm_title(cui); } -- cgit v1.2.1