From 720f214482c3077c392c852ecbbf33f04740562b Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Wed, 10 Sep 2014 10:58:14 +0400 Subject: [PATCH] (status_msg_init): repaint screen forced to remove previous finished dialog. Signed-off-by: Andrew Borodin --- lib/widget/wtools.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/widget/wtools.c b/lib/widget/wtools.c index dfad5ba99..7d27d637a 100644 --- a/lib/widget/wtools.c +++ b/lib/widget/wtools.c @@ -573,6 +573,9 @@ status_msg_init (status_msg_t * sm, const char *title, double delay, status_msg_ { guint64 start; + /* repaint screen to remove previous finished dialog */ + mc_refresh (); + start = mc_timer_elapsed (mc_global.timer); sm->dlg = dlg_create (TRUE, 0, 0, 7, min (max (40, COLS / 2), COLS), dialog_colors,