mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Settings/InterfacePane: Make message box modal
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user