[project @ 2005-05-03 21:56:20 by rjw]

Fix tree menu selection/deletion bug

svn path=/import/netsurf/; revision=1712
This commit is contained in:
Richard Wilson 2005-05-03 21:56:20 +00:00
parent ab4dabe252
commit f21abddae3
1 changed files with 3 additions and 1 deletions

View File

@ -1053,9 +1053,11 @@ void ro_gui_tree_show(struct tree *tree) {
/* Set the default state
*/
if (tree->root->child)
if (tree->root->child) {
tree_set_node_selected(tree, tree->root, false);
tree_handle_node_changed(tree, tree->root,
false, true);
}
/* Get the current screen size
*/