mirror of
https://github.com/4sval/FModel.git
synced 2026-07-19 17:24:29 -05:00
Merge pull request #519 from Krowe-moh/optimization
This commit is contained in:
commit
20adb800f3
|
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user