Fix recursive copy not working
This commit is contained in:
@@ -220,7 +220,7 @@ public sealed partial class LocalContentProvider : ContentProviderBase, ILocalCo
|
||||
parentFullName,
|
||||
AbsolutePathType.Container);
|
||||
|
||||
return new Container(
|
||||
var container = new Container(
|
||||
name,
|
||||
name,
|
||||
fullName,
|
||||
@@ -240,6 +240,8 @@ public sealed partial class LocalContentProvider : ContentProviderBase, ILocalCo
|
||||
new ExtensionCollection().AsReadOnly(),
|
||||
new ObservableCollection<AbsolutePath>()
|
||||
);
|
||||
container.StopLoading();
|
||||
return container;
|
||||
}
|
||||
|
||||
private IItem CreateEmptyElement(NativePath nativePath)
|
||||
@@ -302,6 +304,10 @@ public sealed partial class LocalContentProvider : ContentProviderBase, ILocalCo
|
||||
{
|
||||
Task.Run(async () => await LoadChildren(container, directoryInfo, children, pointInTime, exceptions));
|
||||
}
|
||||
else
|
||||
{
|
||||
container.StopLoading();
|
||||
}
|
||||
|
||||
return container;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user