mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Merge pull request #8088 from Pokechu22/modal-control-mapping
Allow interacting with the render window while configuring controllers
This commit is contained in:
commit
57743637de
1 changed files with 8 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue