mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Empty dir size in status bar calculates to -1 (fixes #1268)
This commit is contained in:
parent
5605cc3d8a
commit
4ee3818bb8
1 changed files with 6 additions and 3 deletions
|
|
@ -233,10 +233,13 @@ begin
|
|||
begin
|
||||
SizeProperty := FSFile.SizeProperty;
|
||||
|
||||
if Selected then
|
||||
SizeSelected := SizeSelected + SizeProperty.Value;
|
||||
if SizeProperty.Value > 0 then
|
||||
begin
|
||||
if Selected then
|
||||
SizeSelected := SizeSelected + SizeProperty.Value;
|
||||
|
||||
SizeInDir := SizeInDir + SizeProperty.Value;
|
||||
SizeInDir := SizeInDir + SizeProperty.Value;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue