[apps/shared] Tidy model name on sequence type change

This commit is contained in:
Hugo Saint-Vignes
2020-12-17 10:04:24 +01:00
committed by Émilie Feral
parent 479f34502f
commit af3b2d4de4

View File

@@ -71,6 +71,7 @@ void Sequence::setType(Type t) {
setInitialRank(0);
}
recordData()->setType(t);
m_definition.tidyName();
tidy();
/* Reset all contents */
switch (t) {