committed by
Raphael Coeffic
parent
9fffb182d7
commit
8c688bb6a4
@@ -1313,6 +1313,7 @@ void ModelSetupPage::build(FormWindow * window)
|
|||||||
auto model = modelslist.getCurrentModel();
|
auto model = modelslist.getCurrentModel();
|
||||||
if (model) {
|
if (model) {
|
||||||
model->setModelName(g_model.header.name);
|
model->setModelName(g_model.header.name);
|
||||||
|
modelslist.save();
|
||||||
}
|
}
|
||||||
SET_DIRTY();
|
SET_DIRTY();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -83,7 +83,6 @@ void ModelCell::setModelName(char* name, uint8_t len)
|
|||||||
if (tmp != nullptr)
|
if (tmp != nullptr)
|
||||||
*tmp = 0;
|
*tmp = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModelCell::setModelId(uint8_t moduleIdx, uint8_t id)
|
void ModelCell::setModelId(uint8_t moduleIdx, uint8_t id)
|
||||||
|
|||||||
Reference in New Issue
Block a user