mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #2991: fix redraw of WLabel after text change.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
7b7108d493
commit
f23f0613ec
@ -182,10 +182,10 @@ label_set_text (WLabel * label, const char *text)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
widget_redraw (w);
|
||||||
|
|
||||||
if (newcols < w->cols)
|
if (newcols < w->cols)
|
||||||
w->cols = newcols;
|
w->cols = newcols;
|
||||||
|
|
||||||
widget_redraw (w);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user