Skip to content

Commit

Permalink
Fix progress not working
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-ronge committed Jan 25, 2024
1 parent 4e7e1be commit fd18023
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ public ImportProcesses replace() {
public void run() {
try {
while (step < totalActions) {
run(step++);
super.setProgress(100d * step / totalActions);
run(step);
super.setProgress(100d * ++step / totalActions);
if (super.isInterrupted()) {
return;
}
Expand Down

0 comments on commit fd18023

Please sign in to comment.