1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

Use PreferenceData.setBoolean() where appropriate

This commit is contained in:
Cristian Maglie 2016-11-25 15:09:51 +01:00
parent df1841f0cd
commit 611ed081b3

View File

@ -351,9 +351,9 @@ public class Base {
} else if (parser.isVerifyOrUploadMode()) {
splash.close();
// Set verbosity for command line build
PreferencesData.set("build.verbose", "" + parser.isDoVerboseBuild());
PreferencesData.set("upload.verbose", "" + parser.isDoVerboseUpload());
PreferencesData.set("runtime.preserve.temp.files", Boolean.toString(parser.isPreserveTempFiles()));
PreferencesData.setBoolean("build.verbose", parser.isDoVerboseBuild());
PreferencesData.setBoolean("upload.verbose", parser.isDoVerboseUpload());
PreferencesData.setBoolean("runtime.preserve.temp.files", parser.isPreserveTempFiles());
// Make sure these verbosity preferences are only for the
// current session