mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-20 21:01:25 +03:00
triggering onBoardOrPortChange when changing port
This commit is contained in:
@ -959,6 +959,9 @@ public class Editor extends JFrame implements RunnerListener {
|
|||||||
serialMonitor.closeSerialPort();
|
serialMonitor.closeSerialPort();
|
||||||
serialMonitor.setVisible(false);
|
serialMonitor.setVisible(false);
|
||||||
serialMonitor = new SerialMonitor(Preferences.get("serial.port"));
|
serialMonitor = new SerialMonitor(Preferences.get("serial.port"));
|
||||||
|
|
||||||
|
onBoardOrPortChange();
|
||||||
|
|
||||||
//System.out.println("set to " + get("serial.port"));
|
//System.out.println("set to " + get("serial.port"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user