Fix update all
This commit is contained in:
parent
9eb9750134
commit
555145f04b
2 changed files with 6 additions and 0 deletions
|
@ -425,6 +425,8 @@ public class DownloadIndexesThread {
|
|||
warn += " " + wn;
|
||||
}
|
||||
filesToReindex.clear();
|
||||
// slow down but let update all button work properly
|
||||
indexes.updateFilesToUpdate();;
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
|
|
|
@ -124,6 +124,10 @@ public class DownloadResources extends DownloadResourceGroup {
|
|||
|
||||
protected void updateFilesToUpdate() {
|
||||
initAlreadyLoadedFiles();
|
||||
recalculateFilesToUpdate();
|
||||
}
|
||||
|
||||
private void recalculateFilesToUpdate() {
|
||||
List<IndexItem> stillUpdate = new ArrayList<IndexItem>();
|
||||
for (IndexItem item : itemsToUpdate) {
|
||||
String sfName = item.getTargetFileName();
|
||||
|
|
Loading…
Reference in a new issue