DolphinQt: Ensure controller settings show the game-controller indicator while expression editing.

This commit is contained in:
Jordan Woyak
2024-04-12 15:54:18 -05:00
parent e9fe0d3d5b
commit 9321318cb6
@@ -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();