Fix obviously broken logic. Fixes broken preview fetching on Windows. 0.9.23
authorunC0Rr
Tue, 02 Jan 2018 23:20:50 +0300
branch0.9.23
changeset 12874 7caa4ec513bd
parent 12864 73ebc894a725
child 12875 dc1ff1491b63
child 12887 62f7d28e93e3
Fix obviously broken logic. Fixes broken preview fetching on Windows.
QTfrontend/net/tcpBase.cpp
--- 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