Skip to content
Permalink
Browse files

Qt/ControllerWindow: Make message boxes modal

  • Loading branch information...
spycrab committed Mar 3, 2019
1 parent 7f9084f commit 103cb430f40981de46e84bc8e8e64d991546135f
Showing with 2 additions and 0 deletions.
  1. +2 −0 Source/Core/DolphinQt/Config/ControllersWindow.cpp
@@ -330,6 +330,7 @@ void ControllersWindow::OnBluetoothPassthroughResetPressed()
{
QMessageBox error(this);
error.setIcon(QMessageBox::Warning);
error.setWindowModality(Qt::WindowModal);
error.setWindowTitle(tr("Warning"));
error.setText(tr("Saved Wii Remote pairings can only be reset when a Wii game is running."));
error.exec();
@@ -351,6 +352,7 @@ void ControllersWindow::OnBluetoothPassthroughSyncPressed()
{
QMessageBox error(this);
error.setIcon(QMessageBox::Warning);
error.setWindowModality(Qt::WindowModal);
error.setWindowTitle(tr("Warning"));
error.setText(tr("A sync can only be triggered when a Wii game is running."));
error.exec();

0 comments on commit 103cb43

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