Fix conditions to disconnect
authorunc0rr
Wed, 15 Oct 2008 16:54:05 +0000
changeset 1359 c7703c653865
parent 1358 99ba722e5a09
child 1360 d3e285281c26
Fix conditions to disconnect
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Wed Oct 15 16:25:34 2008 +0000
+++ b/QTfrontend/hwform.cpp	Wed Oct 15 16:54:05 2008 +0000
@@ -300,8 +300,10 @@
 	OnPageShown(id, curid);
 	
 	if (id == ID_PAGE_ROOMSLIST) {
+		GoBack();
+	}
+	if (id == ID_PAGE_NET) {
 		if(hwnet || pnetserver) NetDisconnect();
-		GoBack();
 	}
 }