summaryrefslogtreecommitdiff
path: root/riscos/treeview.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/treeview.c')
-rw-r--r--riscos/treeview.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/riscos/treeview.c b/riscos/treeview.c
index f28875938..d2096a2ed 100644
--- a/riscos/treeview.c
+++ b/riscos/treeview.c
@@ -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
*/