diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/treeview.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/treeview.c b/desktop/treeview.c index 1de4bf968..1ed661113 100644 --- a/desktop/treeview.c +++ b/desktop/treeview.c @@ -2154,7 +2154,9 @@ treeview_node_expand_internal(treeview *tree, treeview_node *node) n->height += additional_height; } - if (tree->search.search) { + if (tree->search.search && + node->type == TREE_NODE_ENTRY && + node->flags & TV_NFLAGS_MATCHED) { tree->search.height += additional_height; } |