mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt/IOWindow: Fix detection of button names containing non-alphabetical characters
The button wouldn't be highlighted in the list, as it would look for something like `Click 1` instead of Click 1.
This commit is contained in:
@ -187,7 +187,8 @@ void IOWindow::OnDetectButtonPressed()
|
||||
btn->setText(QStringLiteral("..."));
|
||||
|
||||
const auto expr = MappingCommon::DetectExpression(
|
||||
m_reference, g_controller_interface.FindDevice(m_devq).get(), m_devq);
|
||||
m_reference, g_controller_interface.FindDevice(m_devq).get(), m_devq,
|
||||
MappingCommon::Quote::Off);
|
||||
|
||||
btn->setText(old_label);
|
||||
|
||||
|
Reference in New Issue
Block a user