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

This commit is contained in:
Jordan Woyak 2024-03-20 22:41:09 -05:00
parent e9fe0d3d5b
commit 9321318cb6
1 changed files with 3 additions and 0 deletions

View File

@ -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();