# HG changeset patch
# User unc0rr
# Date 1224089645 0
# Node ID c7703c653865d00be93e0cb278026323b876f69e
# Parent  99ba722e5a09ae105f025be38b1348d398e7b297
Fix conditions to disconnect

diff -r 99ba722e5a09 -r c7703c653865 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();
 	}
 }