mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-13 07:49:19 +01: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
@ -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…
x
Reference in New Issue
Block a user