--- a/QTfrontend/net/tcpBase.cpp Thu Dec 28 11:58:10 2017 -0500
+++ b/QTfrontend/net/tcpBase.cpp Tue Jan 02 23:20:50 2018 +0300
@@ -228,7 +228,7 @@
{
Q_UNUSED(exitStatus);
- if(!m_connected)
+ if(m_connected)
ClientDisconnect();
// show error message if there was an error that was not an engine's