diff --git a/Files/ViewModels/ItemViewModel.cs b/Files/ViewModels/ItemViewModel.cs index 7ff74a249755..10c32524910d 100644 --- a/Files/ViewModels/ItemViewModel.cs +++ b/Files/ViewModels/ItemViewModel.cs @@ -1815,6 +1815,8 @@ private async void ProcessOperationQueue(CancellationToken cancellationToken) if (await operationEvent.WaitAsync(200, cancellationToken)) { operationEvent.Reset(); + itemLoadEvent.Reset(); + while (operationQueue.TryDequeue(out var operation)) { if (cancellationToken.IsCancellationRequested) break; @@ -1851,6 +1853,8 @@ private async void ProcessOperationQueue(CancellationToken cancellationToken) anyEdits = false; } } + + itemLoadEvent.Set(); } if (anyEdits && sampler.CheckNow())