diff options
| author | OatmealDome <OatmealDome@users.noreply.github.com> | 2025-01-07 16:55:55 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-07 16:55:55 -0500 |
| commit | 696b363f478961bb18420b79ef9f09eabd600e55 (patch) | |
| tree | 18f9f1c178a08ca694f42867288e78b01732c5c5 /Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp | |
| parent | b35f7af355dad22b1b2d408c5d17d781e506686f (diff) | |
| parent | f12846a0e93ea9ad69f884fb850cce379bc5bed0 (diff) | |
Merge pull request #13162 from jordan-woyak/non-blocking-input-detection
DolphinQt/InputCommon: Make input mapping and output testing non-blocking.
Diffstat (limited to 'Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp index ae4095a82c..30f0e41e86 100644 --- a/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp @@ -20,7 +20,6 @@ #include "DolphinQt/Config/Mapping/MappingWindow.h" #include "DolphinQt/QtUtils/SetWindowDecorations.h" -#include "InputCommon/ControlReference/ControlReference.h" #include "InputCommon/ControllerEmu/Control/Control.h" #include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h" #include "InputCommon/ControllerEmu/ControlGroup/MixedTriggers.h" @@ -340,10 +339,10 @@ MappingWidget::CreateSettingAdvancedMappingButton(ControllerEmu::NumericSettingB setting.SetExpressionFromValue(); // Ensure the UI has the game-controller indicator while editing the expression. + // And cancel in-progress mappings. ConfigChanged(); - IOWindow io(this, GetController(), &setting.GetInputReference(), IOWindow::Type::Input); - SetQWidgetWindowDecorations(&io); + IOWindow io(GetParent(), GetController(), &setting.GetInputReference(), IOWindow::Type::Input); io.exec(); setting.SimplifyIfPossible(); |
