mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04: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);
|
del_from_list(item);
|
||||||
|
|
||||||
update_hierbox_browser(browser);
|
if (item->visible) update_hierbox_browser(browser);
|
||||||
}
|
}
|
||||||
|
|
||||||
mem_free(item);
|
mem_free(item);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user