mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +01:00
Removed auto download when cores/libs empty: they are download every single time the related manager is downloaded
This commit is contained in:
parent
5072f6b1e0
commit
aa0cadbd0e
@ -112,15 +112,6 @@ public class LibraryManagerUI extends InstallerJDialog {
|
||||
setProgress(progress);
|
||||
}
|
||||
};
|
||||
|
||||
if (indexer.getIndex().getLibraries().isEmpty()) {
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
onUpdatePressed();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public void setProgress(Progress progress) {
|
||||
|
@ -109,15 +109,6 @@ public class ContributionManagerUI extends InstallerJDialog {
|
||||
setProgress(progress);
|
||||
}
|
||||
};
|
||||
|
||||
if (indexer.getIndex().getPackages().isEmpty()) {
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
onUpdatePressed();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public void setProgress(Progress progress) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user