commit fe58206444037835c9a7560f5a21f55dc8bbd2a7
parent 6b9aa3dd1772f5aa5df322c8034c9f1e9ded81ab
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)