summaryrefslogtreecommitdiff
path: root/desktop/treeview.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/treeview.c')
-rw-r--r--desktop/treeview.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c
index 62e196ee2..1de4bf968 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -2321,6 +2321,7 @@ nserror treeview_contract(treeview *tree, bool all)
r.x1 = REDRAW_MAX;
r.y1 = tree->root->height;
+ data.tree = tree;
data.only_entries = !all;
for (n = tree->root->children; n != NULL; n = n->next_sib) {