QTfrontend/net/tcpBase.cpp
branch0.9.23
changeset 12879 7caa4ec513bd
parent 12829 c75781937859
child 13213 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