From fe58206444037835c9a7560f5a21f55dc8bbd2a7 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Fri, 27 Apr 2018 17:00:37 +0200 Subject: [PATCH] Ignore the expander "hot spots" in folderview for childless folders. --- src/gtk/gtksctree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gtk/gtksctree.c b/src/gtk/gtksctree.c index 4519657d2..343b5dba7 100644 --- a/src/gtk/gtksctree.c +++ b/src/gtk/gtksctree.c @@ -431,6 +431,8 @@ sctree_is_hot_spot (GtkSCTree *sctree, return FALSE; tree_row = GTK_CMCTREE_ROW (node); + if (!tree_row->children) + return FALSE; hotspot_size = clist->row_height-2; if (hotspot_size > clist->column[ctree->tree_column].area.width - 2) -- 2.25.1