Allow user to override what Size returns in case we know better than the computer

This commit is contained in:
Michael Becker 2019-08-29 23:15:35 -04:00
parent d707ab11c7
commit c4aee131e3

View File

@ -206,10 +206,17 @@ namespace UniversalEditor.ObjectModels.FileSystem
string strSize = "*";
try
{
byte[] data = this.GetData();
if (data != null)
if (mvarSize != null)
{
strSize = data.Length.ToString();
strSize = mvarSize.ToString();
}
else
{
byte[] data = this.GetData();
if (data != null)
{
strSize = data.Length.ToString();
}
}
}
catch (Exception ex)