Qt/MappingButton: Save settings when a mapping is changed

This commit is contained in:
spycrab 2018-02-04 22:03:38 +01:00
parent 44391ad2fe
commit f253c1ea32
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ void MappingButton::OnButtonPressed()
if (!expr.isEmpty()) if (!expr.isEmpty())
{ {
m_reference->SetExpression(expr.toStdString()); m_reference->SetExpression(expr.toStdString());
m_parent->SaveSettings();
Update(); Update();
} }
else else