mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Settings/InterfacePane: Make message box modal
This commit is contained in:
parent
0c886b5e3c
commit
606c61e7c9
1 changed files with 6 additions and 3 deletions
|
@ -269,9 +269,12 @@ void InterfacePane::OnSaveConfig()
|
||||||
if (new_language != SConfig::GetInstance().m_InterfaceLanguage)
|
if (new_language != SConfig::GetInstance().m_InterfaceLanguage)
|
||||||
{
|
{
|
||||||
SConfig::GetInstance().m_InterfaceLanguage = new_language;
|
SConfig::GetInstance().m_InterfaceLanguage = new_language;
|
||||||
QMessageBox::information(
|
QMessageBox msg(QMessageBox::Information, tr("Restart Required"),
|
||||||
this, tr("Restart Required"),
|
tr("You must restart Dolphin in order for the change to take effect."),
|
||||||
tr("You must restart Dolphin in order for the change to take effect."));
|
QMessageBox::Ok, this);
|
||||||
|
|
||||||
|
msg.setWindowModality(Qt::WindowModal);
|
||||||
|
msg.exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
const bool use_covers = m_checkbox_use_covers->isChecked();
|
const bool use_covers = m_checkbox_use_covers->isChecked();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue