Skip to content

Commit b7425b8

Browse files
committed
fix json progress output for all files, #BUILD beta
1 parent 8fbc3fd commit b7425b8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

MainWindow.xaml.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -499,14 +499,11 @@ static void InitProgressBars(ImportSettings importSettings)
499499

500500
int threadCount = importSettings.maxThreads;
501501
// clamp to max files
502-
threadCount = Math.Min(threadCount, importSettings.maxFiles);
502+
threadCount = Math.Min(threadCount, importSettings.inputFiles.Count);
503503
threadCount = Math.Max(threadCount, 1);
504504

505505
//Log.WriteLine("Creating progress bars: " + threadCount);
506-
507506
bool useJsonLog = importSettings.useJSONLog;
508-
509-
//Log.WriteLine("Creating progress bars: " + threadCount);
510507
progressInfos.Clear();
511508

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

0 commit comments

Comments
 (0)