QTfrontend/hwform.cpp
changeset 4433 e0092290b7c5
parent 4432 81f52117085d
child 4509 816a0bff5019
equal deleted inserted replaced
4432:81f52117085d 4433:e0092290b7c5
  1141     ui.pageNetGame->pGameCFG->GameSchemes->setCurrentIndex(0);
  1141     ui.pageNetGame->pGameCFG->GameSchemes->setCurrentIndex(0);
  1142 }
  1142 }
  1143 
  1143 
  1144 void HWForm::NetLeftRoom()
  1144 void HWForm::NetLeftRoom()
  1145 {
  1145 {
  1146     if (ui.Pages->currentIndex() == ID_PAGE_NETGAME)
  1146     if (ui.Pages->currentIndex() == ID_PAGE_NETGAME || ui.Pages->currentIndex() == ID_PAGE_INGAME)
  1147         GoBack();
  1147         GoBack();
  1148     else
  1148     else
  1149         qWarning("Left room while not in room");
  1149         qWarning("Left room while not in room");
  1150 }
  1150 }
  1151 
  1151