1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +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:
Michael Scharf 2007-02-22 00:57:01 +00:00
parent c7223668b4
commit ee5fae7ae3

View file

@ -224,6 +224,8 @@ public class TerminalControl implements ITerminalControlForText, ITerminalContro
if(fConnector==null)
return;
fConnector.connect(this);
// clean the error message
setMsg(""); //$NON-NLS-1$
waitForConnect();
}
/* (non-Javadoc)