Treeview: Ensure we know our treeview when doing treeview node collapse.
This commit is contained in:
parent
73adebf263
commit
f653c33147
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue