1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Do not redraw listbox when deleting invisible item

In done_listbox_item, do not call update_hierbox_browser if the item
that is being deleted was not visible.
This commit is contained in:
Miciah Dashiel Butler Masters 2008-07-08 10:15:51 +00:00
parent 66e1baec77
commit 76de375d3d

View File

@ -109,7 +109,7 @@ done_listbox_item(struct hierbox_browser *browser, struct listbox_item *item)
del_from_list(item);
update_hierbox_browser(browser);
if (item->visible) update_hierbox_browser(browser);
}
mem_free(item);