mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -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:
parent
66e1baec77
commit
76de375d3d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user