mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
[Netplay] Show error dialog if failed to connect to netplay server when Traversal and Force Listen Port is enabled
This commit is contained in:
parent
1f83a3d146
commit
7ddfe713d5
1 changed files with 5 additions and 1 deletions
|
@ -360,7 +360,11 @@ void NetPlaySetupFrame::OnHost(wxCommandEvent&)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
WxUtils::ShowErrorDialog(_("Failed to listen. Is another instance of the NetPlay server running?"));
|
if (trav && m_traversal_listen_port_enabled->IsChecked())
|
||||||
|
WxUtils::ShowErrorDialog(
|
||||||
|
_("Failed to listen. Someone is probably already listening on the port you specified."));
|
||||||
|
else
|
||||||
|
WxUtils::ShowErrorDialog(_("Failed to listen. Is another instance of the NetPlay server running?"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue