Save models list after changing a model name

Resolves #1079
This commit is contained in:
Raphael Coeffic
2021-11-22 13:23:28 +01:00
committed by Raphael Coeffic
parent 9fffb182d7
commit 8c688bb6a4
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -1313,6 +1313,7 @@ void ModelSetupPage::build(FormWindow * window)
auto model = modelslist.getCurrentModel();
if (model) {
model->setModelName(g_model.header.name);
modelslist.save();
}
SET_DIRTY();
});