mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 06:44:59 +00:00
DolphinQt: Check presence of region in NetPlaySetupDialog
This commit is contained in:
parent
10e98d0985
commit
2fa4ef729f
1 changed files with 8 additions and 0 deletions
|
@ -328,6 +328,14 @@ void NetPlaySetupDialog::accept()
|
||||||
return;
|
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());
|
emit Host(items[0]->text());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue