mirror of
https://github.com/transmission/transmission
synced 2025-01-31 03:12:44 +00:00
(gtk) #5284 'file tree should show the wanted size of the subtree, not the entire size': done.
This commit is contained in:
parent
d03de26e13
commit
90b95697e0
1 changed files with 5 additions and 2 deletions
|
@ -180,8 +180,11 @@ refreshFilesForeach (GtkTreeModel * model,
|
|||
FC_ENABLED, &child_enabled,
|
||||
-1);
|
||||
|
||||
sub_size += child_size;
|
||||
have += child_have;
|
||||
if ((child_enabled != FALSE) && (child_enabled != NOT_SET))
|
||||
{
|
||||
sub_size += child_size;
|
||||
have += child_have;
|
||||
}
|
||||
|
||||
if (enabled == NOT_SET)
|
||||
enabled = child_enabled;
|
||||
|
|
Loading…
Reference in a new issue