(setup_panels): use WST_VISIBLE to set up hint bar.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2019-08-11 19:28:32 +03:00
parent 913403b10c
commit 9ac272a287

View File

@ -865,11 +865,8 @@ setup_panels (void)
panels[1].widget->cols);
}
if (mc_global.message_visible)
widget_set_size (WIDGET (the_hint), height + start_y, mw->x, 1, mw->cols);
else
/* make invisible */
widget_set_size (WIDGET (the_hint), 0, 0, 0, 0);
widget_set_visibility (WIDGET (the_hint), mc_global.message_visible);
/* Output window */
if (mc_global.tty.console_flag != '\0' && output_lines != 0)