Merge pull request #6356 from spycrab/qt_mapping_nsaving
Qt/MappingButton: Save settings when a mapping is changed
This commit is contained in:
commit
32360e23e0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue