mirror of
https://github.com/unclshura/splitter.git
synced 2026-08-06 03:33:39 +00:00
Minor bug fixed
This commit is contained in:
parent
e986964f00
commit
796045a2e2
@ -34,8 +34,10 @@ public partial class ProgressViewModel : ObservableObject
|
||||
if (progressLine < 0 || progressLine > Processes.Count)
|
||||
return;
|
||||
|
||||
NumberOfProcesses -= 1;
|
||||
Processes[progressLine] = new ProgressInfo("", progressLine, 0, TimeSpan.Zero, 0);
|
||||
if (NumberOfProcesses > 0 )
|
||||
NumberOfProcesses -= 1;
|
||||
if ( Processes.Count > progressLine)
|
||||
Processes[progressLine] = new ProgressInfo("", progressLine, 0, TimeSpan.Zero, 0);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user