mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Fix SerialMonitor reopen on reconnect
This commit is contained in:
parent
9a63965904
commit
b7a6d93d0a
@ -80,7 +80,7 @@ public abstract class AbstractMonitor extends JFrame implements ActionListener {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent ae) {
|
||||
try {
|
||||
if (!Base.getDiscoveryManager().discovery().contains(boardPort)) {
|
||||
if (Base.getDiscoveryManager().find(boardPort.getAddress()) == null) {
|
||||
if (!closed) {
|
||||
suspend();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user