File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
arduino-core/src/processing/app Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,9 @@ static protected void save() {
114114 if (!doSave )
115115 return ;
116116
117+ if (getBoolean ("preferences.readonly" ))
118+ return ;
119+
117120 // on startup, don't worry about it
118121 // this is trying to update the prefs for who is open
119122 // before Preferences.init() has been called.
Original file line number Diff line number Diff line change @@ -279,6 +279,9 @@ serial.line_ending=1
279279# default chosen language (none for none)
280280editor.languages.current =
281281
282+ # Disable saving of preferences.txt file (settings will not survive Arduino IDE reboot)
283+ preferences.readonly=false
284+
282285# Debugging/Development Preferences
283286# ---------------------------------
284287
You can’t perform that action at this time.
0 commit comments