Qt/Mapping: Fix mapping changes not being applied instantly

This commit is contained in:
spycrab
2018-05-13 21:17:46 +02:00
parent 7a5e51cda7
commit 9e2f9db94c
3 changed files with 9 additions and 0 deletions

View File

@ -117,6 +117,7 @@ void MappingButton::Detect()
m_reference->SetExpression(expr.toStdString());
m_parent->SaveSettings();
Update();
m_parent->GetController()->UpdateReferences(g_controller_interface);
if (m_parent->IsIterativeInput())
m_parent->NextButton(this);