1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

New Preferences window: renders fine on every OS and it's easier to adapt using NetBeans as visual editor. Fixes #3140

This commit is contained in:
Federico Fissore
2015-05-15 15:23:23 +02:00
parent 40c0741d07
commit 7816ee3f10
9 changed files with 1457 additions and 17 deletions

View File

@ -88,6 +88,10 @@ public class PreferencesData {
fixPreferences();
}
public static File getPreferencesFile() {
return preferencesFile;
}
private static void fixPreferences() {
String baud = get("serial.debug_rate");
if ("14400".equals(baud) || "28800".equals(baud)) {