Skip to content
Permalink
Browse files

Settings/InterfacePane: Make message box modal

  • Loading branch information...
spycrab committed Mar 3, 2019
1 parent 0c886b5 commit 606c61e7c98714acd8158dff207b4e9eef852670
Showing with 6 additions and 3 deletions.
  1. +6 −3 Source/Core/DolphinQt/Settings/InterfacePane.cpp
@@ -269,9 +269,12 @@ void InterfacePane::OnSaveConfig()
if (new_language != SConfig::GetInstance().m_InterfaceLanguage)
{
SConfig::GetInstance().m_InterfaceLanguage = new_language;
QMessageBox::information(
this, tr("Restart Required"),
tr("You must restart Dolphin in order for the change to take effect."));
QMessageBox msg(QMessageBox::Information, tr("Restart Required"),
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();

0 comments on commit 606c61e

Please sign in to comment.
You can’t perform that action at this time.