mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Merge pull request #8088 from Pokechu22/modal-control-mapping
Allow interacting with the render window while configuring controllers
This commit is contained in:
@ -426,7 +426,10 @@ void ControllersWindow::OnGCPadConfigure()
|
|||||||
return;
|
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()
|
void ControllersWindow::OnWiimoteConfigure()
|
||||||
@ -451,7 +454,10 @@ void ControllersWindow::OnWiimoteConfigure()
|
|||||||
return;
|
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()
|
void ControllersWindow::LoadSettings()
|
||||||
|
Reference in New Issue
Block a user