Commit d3f37b04 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

folder tree: do not add the 'loading' item if the node has no child

parent 067aea74
......@@ -1636,6 +1636,9 @@ gth_folder_tree_loading_children (GthFolderTree *folder_tree,
else
return;
if (_gth_folder_tree_iter_has_no_child (folder_tree, p_parent_iter))
return;
_gth_folder_tree_add_loading_item (folder_tree, p_parent_iter, FALSE);
/* remove anything but the loading item */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment