| 2078 | } |
| 2079 | |
| 2080 | void OnClick([[maybe_unused]] Point pt, WidgetID widget, [[maybe_unused]] int click_count) override |
| 2081 | { |
| 2082 | if (widget == WID_NJS_CANCELOK) { // Disconnect button |
| 2083 | NetworkDisconnect(); |
| 2084 | SwitchToMode(SM_MENU); |
| 2085 | ShowNetworkGameWindow(); |
| 2086 | } |
| 2087 | } |
| 2088 | |
| 2089 | void OnQueryTextFinished(std::optional<std::string> str) override |
| 2090 | { |
nothing calls this directly
no test coverage detected