mirror of
https://github.com/4sval/FModel.git
synced 2026-08-20 08:24:30 -05:00
Merge pull request #519 from Krowe-moh/optimization
This commit is contained in:
@@ -154,14 +154,13 @@ public class AssetsFolderViewModel
|
||||
|
||||
if (item.Folders.Count != 0)
|
||||
{
|
||||
item.Folders.SetSuppressionState(false);
|
||||
item.Folders.InvokeOnCollectionChanged();
|
||||
|
||||
foreach (var folderItem in item.Folders)
|
||||
InvokeOnCollectionChanged(folderItem);
|
||||
}
|
||||
|
||||
if (item.AssetsList.Assets.Count != 0)
|
||||
if (item.AssetsList.Assets.Any())
|
||||
item.AssetsList.Assets.InvokeOnCollectionChanged();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user