do GoBack if also INGAME due to kick
authornemo
Sun, 28 Nov 2010 15:07:26 -0500
changeset 4433 e0092290b7c5
parent 4432 81f52117085d
child 4434 34c305fbc63c
do GoBack if also INGAME due to kick
QTfrontend/hwform.cpp
--- a/QTfrontend/hwform.cpp	Sun Nov 28 14:38:42 2010 -0500
+++ b/QTfrontend/hwform.cpp	Sun Nov 28 15:07:26 2010 -0500
@@ -1143,7 +1143,7 @@
 
 void HWForm::NetLeftRoom()
 {
-    if (ui.Pages->currentIndex() == ID_PAGE_NETGAME)
+    if (ui.Pages->currentIndex() == ID_PAGE_NETGAME || ui.Pages->currentIndex() == ID_PAGE_INGAME)
         GoBack();
     else
         qWarning("Left room while not in room");