mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 21:05:37 +02:00
Bug 174953 connect fails when a previous telnet connection had failed
The Msg is used as state indicator, was not cleaned on a new connection
This commit is contained in:
parent
c7223668b4
commit
ee5fae7ae3
1 changed files with 2 additions and 0 deletions
|
@ -224,6 +224,8 @@ public class TerminalControl implements ITerminalControlForText, ITerminalContro
|
||||||
if(fConnector==null)
|
if(fConnector==null)
|
||||||
return;
|
return;
|
||||||
fConnector.connect(this);
|
fConnector.connect(this);
|
||||||
|
// clean the error message
|
||||||
|
setMsg(""); //$NON-NLS-1$
|
||||||
waitForConnect();
|
waitForConnect();
|
||||||
}
|
}
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
|
|
Loading…
Add table
Reference in a new issue