QTfrontend/net/newnetclient.cpp
changeset 6513 677b96d13e1f
parent 6222 96d10dcd6d84
child 6539 3222bb0612ca
--- a/QTfrontend/net/newnetclient.cpp	Wed Dec 07 08:01:18 2011 +0300
+++ b/QTfrontend/net/newnetclient.cpp	Wed Dec 07 12:19:36 2011 +0100
@@ -376,12 +376,14 @@
 
     if(lst[0] == "ROOMABANDONED") {
         netClientState = InLobby;
+        askRoomsList();
         emit LeftRoom(tr("Room destroyed"));
         return;
     }
 
     if(lst[0] == "KICKED") {
         netClientState = InLobby;
+        askRoomsList();
         emit LeftRoom(tr("You got kicked"));
         return;
     }
@@ -746,6 +748,7 @@
 {
     netClientState = InLobby;
     RawSendNet(QString("PART"));
+    askRoomsList();
 }
 
 bool HWNewNet::isInRoom()