Skip to content

Commit 38db43f

Browse files
committed
fix progress status for batch
1 parent e380474 commit 38db43f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

MainWindow.xaml.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -557,14 +557,11 @@ static void InitProgressBars(ImportSettings importSettings)
557557

558558
int threadCount = importSettings.maxThreads;
559559
// clamp to max files
560-
threadCount = Math.Min(threadCount, importSettings.maxFiles);
560+
threadCount = Math.Min(threadCount, importSettings.inputFiles.Count);
561561
threadCount = Math.Max(threadCount, 1);
562562

563-
//Log.Write("Creating progress bars: " + threadCount);
564-
563+
//Log.WriteLine("Creating progress bars: " + threadCount);
565564
bool useJsonLog = importSettings.useJSONLog;
566-
567-
//Log.Write("Creating progress bars: " + threadCount);
568565
progressInfos.Clear();
569566

570567
for (int i = 0; i < threadCount; i++)

0 commit comments

Comments
 (0)