Ok. Seems to me if you disconnect on any page, you should go to the main net page, since presumably you were in some part of net play. I think this should avoid ending up in a "lobby" after disconnecting
authornemo
Tue, 23 Oct 2012 11:14:08 -0400
changeset 7802 c7f5c3bd7f8c
parent 7801 7222dd855540
child 7803 7c4d83f8ac23
Ok. Seems to me if you disconnect on any page, you should go to the main net page, since presumably you were in some part of net play. I think this should avoid ending up in a "lobby" after disconnecting
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Tue Oct 23 15:52:06 2012 +0100
+++ b/QTfrontend/hwform.cpp	Tue Oct 23 11:14:08 2012 -0400
@@ -1286,7 +1286,7 @@
         ShowErrorMessage(errorStr);
     }
     if (ui.Pages->currentIndex() != ID_PAGE_NET)
-        GoBack();
+        GoToPage(ID_PAGE_NET);
 }
 
 void HWForm::NetConnected()