Merge pull request #7273 from Techjar/qt-iowindow-detect-spaces

Qt/IOWindow: Fix detection of button names containing non-alphabetical characters
This commit is contained in:
spycrab
2018-07-30 11:58:47 +02:00
committed by GitHub
3 changed files with 24 additions and 11 deletions

View File

@ -190,7 +190,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);