mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Fixed --save-prefs regression
Also removed deprecated Prefences.save() method. Fix #6067
This commit is contained in:
parent
39f396e55a
commit
c70efd950f
@ -277,7 +277,9 @@ public class Base {
|
||||
// Save the preferences. For GUI mode, this happens in the quit
|
||||
// handler, but for other modes we should also make sure to save
|
||||
// them.
|
||||
PreferencesData.save();
|
||||
if (parser.isForceSavePrefs()) {
|
||||
PreferencesData.save();
|
||||
}
|
||||
|
||||
if (parser.isInstallBoard()) {
|
||||
ContributionsIndexer indexer = new ContributionsIndexer(
|
||||
|
@ -75,11 +75,6 @@ public class Preferences {
|
||||
|
||||
static final int GUI_SMALL = 6;
|
||||
|
||||
@Deprecated
|
||||
protected static void save() {
|
||||
PreferencesData.save();
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public static String get(String attribute) {
|
||||
return PreferencesData.get(attribute);
|
||||
|
@ -2,6 +2,7 @@ ARDUINO 1.8.2
|
||||
|
||||
[ide]
|
||||
* Fix command line: works again with relative paths (regression)
|
||||
* Fix command line: "--save-prefs" works again (regression)
|
||||
* AVR toolchain has been updated with a tentative fix for the ld-returned-5-exit-status bug
|
||||
* Update arduino-builder to 1.3.25
|
||||
- avoid name clashing for libraries
|
||||
|
Loading…
Reference in New Issue
Block a user