Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-10-21 17:01:23 +02:00
commit f0ddded325
2 changed files with 6 additions and 0 deletions

View file

@ -425,6 +425,8 @@ public class DownloadIndexesThread {
warn += " " + wn;
}
filesToReindex.clear();
// slow down but let update all button work properly
indexes.updateFilesToUpdate();;
}
}
} finally {

View file

@ -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();