| 160 | } |
| 161 | |
| 162 | void menu::GenericServerMenu::OnConnectionFailedDialogEvent() |
| 163 | { |
| 164 | if (m_playerFailed) |
| 165 | { |
| 166 | m_playerFailed = false; |
| 167 | return; |
| 168 | } |
| 169 | |
| 170 | PopBrowserPage(); |
| 171 | menu::SettingsButtonCbFun(ui::Button::CB_BTN_DECIDE, NULL, 0, NULL); |
| 172 | if (m_pageList.empty()) |
| 173 | { |
| 174 | delete this; |
| 175 | } |
| 176 | menu::GenericMenu *topMenu = menu::GetTopMenu(); |
| 177 | if (topMenu) |
| 178 | { |
| 179 | topMenu->DisableInput(); |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | void menu::GenericServerMenu::GoTo(const string& ref) |
| 184 | { |
no test coverage detected