summaryrefslogtreecommitdiff
path: root/desktop/treeview.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/treeview.c')
-rw-r--r--desktop/treeview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c
index a2c9e0de5..f9b984c25 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -3428,6 +3428,8 @@ int treeview_get_height(treeview *tree)
assert(tree != NULL);
assert(tree->root != NULL);
+ tree->cw_t->update_size(tree->cw_h, -1, tree->root->height);
+
return tree->root->height;
}