Fix download loop

This commit is contained in:
crschnick 2024-09-27 12:34:40 +00:00
parent 15cb286dcf
commit 2a6e3ac643

View file

@ -135,6 +135,12 @@ public class BrowserTransferModel {
BrowserFileTransferMode.COPY,
false,
progress -> {
// Don't update item progress to keep it as finished
if (progress == null) {
item.getOpenFileSystemModel().getProgress().setValue(null);
return;
}
synchronized (item.getProgress()) {
item.getProgress().setValue(progress);
}