Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f0ddded325
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