mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
(setup_panels): use WST_VISIBLE to set up hint bar.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
913403b10c
commit
9ac272a287
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user