commit 2e197d5e8ed39e2b1fb41eaa213c0e35e1f4c279
parent 4b9e23b3f13ba4e760cd286e6016e8c15e317d9f
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Fri, 27 Apr 2018 17:00:37 +0200
Ignore the expander "hot spots" in folderview for childless folders.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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)