Allow user to override what Size returns in case we know better than the computer
This commit is contained in:
parent
d707ab11c7
commit
c4aee131e3
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user