From 9321318cb6e15976a589d38edd5ca039d407cf23 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Wed, 20 Mar 2024 22:41:09 -0500 Subject: [PATCH] DolphinQt: Ensure controller settings show the game-controller indicator while expression editing. --- Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp index 5eadb359b4..d1e09ac973 100644 --- a/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/MappingWidget.cpp @@ -332,6 +332,9 @@ MappingWidget::CreateSettingAdvancedMappingButton(ControllerEmu::NumericSettingB if (setting.IsSimpleValue()) setting.SetExpressionFromValue(); + // Ensure the UI has the game-controller indicator while editing the expression. + ConfigChanged(); + IOWindow io(this, GetController(), &setting.GetInputReference(), IOWindow::Type::Input); SetQWidgetWindowDecorations(&io); io.exec();