QTfrontend/net/tcpBase.cpp
branch0.9.23
changeset 12874 7caa4ec513bd
parent 12824 c75781937859
child 13208 fcffacc6ee8f
--- 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