Skip to content
Permalink
Browse files

Merge pull request #8088 from Pokechu22/modal-control-mapping

Allow interacting with the render window while configuring controllers
  • Loading branch information...
leoetlino committed May 11, 2019
2 parents e35ccd5 + 7c80fcd commit 57743637de72303343b3f5d31a9cc10a2730d007
Showing with 8 additions and 2 deletions.
  1. +8 −2 Source/Core/DolphinQt/Config/ControllersWindow.cpp
@@ -426,7 +426,10 @@ void ControllersWindow::OnGCPadConfigure()
return;
}

MappingWindow(this, type, static_cast<int>(index)).exec();
MappingWindow* window = new MappingWindow(this, type, static_cast<int>(index));
window->setAttribute(Qt::WA_DeleteOnClose, true);
window->setWindowModality(Qt::WindowModality::WindowModal);
window->show();
}

void ControllersWindow::OnWiimoteConfigure()
@@ -451,7 +454,10 @@ void ControllersWindow::OnWiimoteConfigure()
return;
}

MappingWindow(this, type, static_cast<int>(index)).exec();
MappingWindow* window = new MappingWindow(this, type, static_cast<int>(index));
window->setAttribute(Qt::WA_DeleteOnClose, true);
window->setWindowModality(Qt::WindowModality::WindowModal);
window->show();
}

void ControllersWindow::LoadSettings()

0 comments on commit 5774363

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