Commit 4cf5eb65 authored by Jan Kožusznik's avatar Jan Kožusznik

ISS-1232: address MR

!36 (comment 11868)
parent aee39901
......@@ -148,6 +148,7 @@ public class ObservableBenchmarkJob extends
if (Objects.equals(item, PersistentSynchronizationProcess.FAILED_ITEM)) {
failed = true;
doneStatusConsumer.accept(false);
reloadFileTransferList();
fireValueChangedEvent();
} else if (start == null) {
setDone(false);
......@@ -190,7 +191,7 @@ public class ObservableBenchmarkJob extends
@Override
public void itemDone(final Object item) {
fileTransferList.setAll(getValue().getFileTransferInfo());
reloadFileTransferList();
}
@Override
......@@ -201,6 +202,10 @@ public class ObservableBenchmarkJob extends
return doneStatusSupplier.get();
}
private void reloadFileTransferList() {
fileTransferList.setAll(getValue().getFileTransferInfo());
}
private void clearProgress() {
remainingMiliseconds = null;
remainingPercents = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment