mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-02 07:35:25 +03:00
Stop over-zealous deletions, we should only be deleting the currently-selected node.
svn path=/trunk/netsurf/; revision=5545
This commit is contained in:
parent
fbb2ae7f5f
commit
dfeb722504
@ -560,7 +560,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
|
||||
GetListBrowserNodeAttrs(lbnode,
|
||||
LBNA_UserData,(ULONG *)&treenode,
|
||||
TAG_DONE);
|
||||
tree_delete_node(twin->tree, treenode, true);
|
||||
tree_delete_node(twin->tree, treenode, false);
|
||||
/* We are recreating the list from scratch as there is no obvious easy way
|
||||
to delete children from a listbrowser list */
|
||||
ami_recreate_listbrowser(twin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user