From 78b6b48604ac40f677bc75fa517070310bd1b66c Mon Sep 17 00:00:00 2001 From: BeePerNet Date: Thu, 3 Oct 2019 13:12:49 -0400 Subject: [PATCH] Sum Fix --- SizeOnDisk/Properties/AssemblyInfo.cs | 4 ++-- SizeOnDisk/ViewModel/VMFile.cs | 2 +- SizeOnDisk/ViewModel/VMFolder.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SizeOnDisk/Properties/AssemblyInfo.cs b/SizeOnDisk/Properties/AssemblyInfo.cs index 07f3558..1b1f3be 100644 --- a/SizeOnDisk/Properties/AssemblyInfo.cs +++ b/SizeOnDisk/Properties/AssemblyInfo.cs @@ -58,5 +58,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.14.8.42")] -[assembly: AssemblyFileVersion("2.14.8.42")] +[assembly: AssemblyVersion("2.14.9.42")] +[assembly: AssemblyFileVersion("2.14.9.42")] diff --git a/SizeOnDisk/ViewModel/VMFile.cs b/SizeOnDisk/ViewModel/VMFile.cs index 3288274..33576ed 100644 --- a/SizeOnDisk/ViewModel/VMFile.cs +++ b/SizeOnDisk/ViewModel/VMFile.cs @@ -180,7 +180,7 @@ public ulong? FileSize } protected set { - if (value != _FileSize) + if (value != FileSize) { if (value.HasValue) { diff --git a/SizeOnDisk/ViewModel/VMFolder.cs b/SizeOnDisk/ViewModel/VMFolder.cs index 9997f67..22371d0 100644 --- a/SizeOnDisk/ViewModel/VMFolder.cs +++ b/SizeOnDisk/ViewModel/VMFolder.cs @@ -59,7 +59,7 @@ internal VMFolder(VMFolder parent, string name) private ulong _FileTotal = 1; private ulong _FolderTotal = 0; - public ulong? FileCount => (ulong?)(Childs?.Count - Folders?.Count); + public ulong? FileCount => (ulong)(Childs.Count - Folders.Count); public override ulong? FolderTotal {