Minor bug fixed

This commit is contained in:
Alexander Shabarshov 2026-07-12 09:42:03 +01:00
parent e986964f00
commit 796045a2e2

View File

@ -34,7 +34,9 @@ public partial class ProgressViewModel : ObservableObject
if (progressLine < 0 || progressLine > Processes.Count) if (progressLine < 0 || progressLine > Processes.Count)
return; return;
if (NumberOfProcesses > 0 )
NumberOfProcesses -= 1; NumberOfProcesses -= 1;
if ( Processes.Count > progressLine)
Processes[progressLine] = new ProgressInfo("", progressLine, 0, TimeSpan.Zero, 0); Processes[progressLine] = new ProgressInfo("", progressLine, 0, TimeSpan.Zero, 0);
} }
}); });