From dfeb72250403ba84782b0ce5d90b898489356b4e Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 11 Oct 2008 23:06:18 +0000 Subject: Stop over-zealous deletions, we should only be deleting the currently-selected node. svn path=/trunk/netsurf/; revision=5545 --- amiga/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga') diff --git a/amiga/tree.c b/amiga/tree.c index e9333c54b..09a1ed33d 100755 --- a/amiga/tree.c +++ b/amiga/tree.c @@ -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); -- cgit v1.2.3