Fix: Treat closing network relay window as a choice of "No".
Issue ConnectFailure when closing the window if the relay request is considered unhandled.
This commit is contained in:

committed by
Peter Nelson

parent
f379b31e28
commit
bdcf6b6acd
@@ -39,5 +39,9 @@ struct NetworkCompanyInfo : NetworkCompanyStats {
|
||||
std::string clients; ///< The clients that control this company (Name1, name2, ..)
|
||||
};
|
||||
|
||||
enum NetworkRelayWindowCloseData {
|
||||
NRWCD_UNHANDLED = 0, ///< Relay request is unhandled.
|
||||
NRWCD_HANDLED = 1, ///< Relay request is handled, either by user or by timeout.
|
||||
};
|
||||
|
||||
#endif /* NETWORK_GUI_H */
|
||||
|
Reference in New Issue
Block a user