From af3b2d4de47020c29cbaf9d6ade1acefa71ccd7a Mon Sep 17 00:00:00 2001 From: Hugo Saint-Vignes Date: Thu, 17 Dec 2020 10:04:24 +0100 Subject: [PATCH] [apps/shared] Tidy model name on sequence type change --- apps/shared/sequence.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/shared/sequence.cpp b/apps/shared/sequence.cpp index a962e5e22..20ffb0ec6 100644 --- a/apps/shared/sequence.cpp +++ b/apps/shared/sequence.cpp @@ -71,6 +71,7 @@ void Sequence::setType(Type t) { setInitialRank(0); } recordData()->setType(t); + m_definition.tidyName(); tidy(); /* Reset all contents */ switch (t) {