mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
DolphinQt: Check presence of region in NetPlaySetupDialog
This commit is contained in:
parent
10e98d0985
commit
2fa4ef729f
@ -328,6 +328,14 @@ void NetPlaySetupDialog::accept()
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_host_server_browser->isChecked() &&
|
||||
m_host_server_region->currentData().toString().isEmpty())
|
||||
{
|
||||
ModalMessageBox::critical(this, tr("Error"),
|
||||
tr("You must provide a region for your session!"));
|
||||
return;
|
||||
}
|
||||
|
||||
emit Host(items[0]->text());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user