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