Redraw simplelist if/when necessary-

Change-Id: I14a1cce8967af60a52d2d13e0b035b71fece8a63
This commit is contained in:
Thomas Martitz 2012-03-22 20:59:01 +01:00
parent 58e097d4a6
commit 6e6f0c6ef3

View file

@ -954,6 +954,7 @@ bool simplelist_show_list(struct simplelist_info *info)
break; break;
} }
else if ((action == ACTION_REDRAW) || else if ((action == ACTION_REDRAW) ||
(list_is_dirty(&lists)) ||
(old_line_count != simplelist_line_count)) (old_line_count != simplelist_line_count))
{ {
if (info->get_name == NULL) if (info->get_name == NULL)