Fix frontend not disconnecting from server
authorunc0rr
Sun, 08 Mar 2009 16:51:16 +0000
changeset 1872 abfce825a14f
parent 1871 ce5854fbc631
child 1873 815a3ff1fe4b
Fix frontend not disconnecting from server
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Sun Mar 08 16:47:22 2009 +0000
+++ b/QTfrontend/hwform.cpp	Sun Mar 08 16:51:16 2009 +0000
@@ -335,7 +335,7 @@
 		if (id == ID_PAGE_NETGAME || id == ID_PAGE_NETGAME)
 			GoBack();
 
-	if ((id == ID_PAGE_NET) && (curid != ID_PAGE_CONNECTING)) {
+	if (id == ID_PAGE_NET) {
 		if(hwnet || pnetserver) NetDisconnect();
 	}
 }