From eb0c2b7bc7e2bb6be817b79061a1e8316fad5406 Mon Sep 17 00:00:00 2001 From: n00mkrad Date: Thu, 21 Oct 2021 08:28:03 +0200 Subject: [PATCH] Fixed delete temp folder dialog in batch processing mode --- Code/Main/Interpolate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Main/Interpolate.cs b/Code/Main/Interpolate.cs index 20d3c5f..ee59575 100644 --- a/Code/Main/Interpolate.cs +++ b/Code/Main/Interpolate.cs @@ -227,7 +227,7 @@ namespace Flowframes if (!current.stepByStep && !Config.GetBool(Config.Key.keepTempFolder)) { - if(IoUtils.GetAmountOfFiles(Path.Combine(current.tempFolder, Paths.resumeDir), true) > 0) + if(!BatchProcessing.busy && IoUtils.GetAmountOfFiles(Path.Combine(current.tempFolder, Paths.resumeDir), true) > 0) { DialogResult dialogResult = MessageBox.Show($"Delete the temp folder (Yes) or keep it for resuming later (No)?", "Delete temporary files?", MessageBoxButtons.YesNo);