1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-09 09:15:38 +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 1c78896262
commit 023785fce1

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)