mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Saving and restoring location of the serial monitor.
This commit is contained in:
@ -788,6 +788,7 @@ public class Base {
|
||||
|
||||
// This will store the sketch count as zero
|
||||
editors.remove(editor);
|
||||
Editor.serialMonitor.closeSerialPort();
|
||||
storeSketches();
|
||||
|
||||
// Save out the current prefs state
|
||||
@ -825,6 +826,7 @@ public class Base {
|
||||
// If quit is canceled, this will be replaced anyway
|
||||
// by a later handleQuit() that is not canceled.
|
||||
storeSketches();
|
||||
Editor.serialMonitor.closeSerialPort();
|
||||
|
||||
if (handleQuitEach()) {
|
||||
// make sure running sketches close before quitting
|
||||
|
Reference in New Issue
Block a user