Treeview: Ensure we know our treeview when doing treeview node collapse.

This commit is contained in:
Michael Drake 2017-09-22 09:39:02 +01:00
parent 73adebf263
commit f653c33147
1 changed files with 1 additions and 0 deletions

View File

@ -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) {