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

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