QTfrontend/hwform.cpp
changeset 13678 1aa5e884326a
parent 13662 2d38dc2d3414
child 13694 27e5e311c7a3
--- a/QTfrontend/hwform.cpp	Sun Aug 19 09:54:46 2018 -0400
+++ b/QTfrontend/hwform.cpp	Tue Aug 21 02:14:15 2018 +0200
@@ -1672,7 +1672,8 @@
     }
     if (pnetserver)
         return; // we have server - let it care of all things
-    if (hwnet) {
+    if (hwnet && (reason != "bye") && (!reason.startsWith("User quit: ")))
+    {
         QString errorStr = QMessageBox::tr("The connection to the server is lost.") + (reason.isEmpty()?"":("\n\n" + HWNewNet::tr("Reason:") + "\n" + reason));
         MessageDialog::ShowErrorMessage(errorStr, this);
     }