From 877db2a811466534b7f938fbefbf9be7a5bddfb2 Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Tue, 13 Aug 2024 22:02:02 -0400 Subject: [PATCH] Reset layout after change nc head shape Refs: https://github.com/DDMAL/Neon/issues/1239 --- src/editortoolkit_neume.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editortoolkit_neume.cpp b/src/editortoolkit_neume.cpp index 39ef113c58..11b5ea9a0a 100644 --- a/src/editortoolkit_neume.cpp +++ b/src/editortoolkit_neume.cpp @@ -1862,6 +1862,7 @@ bool EditorToolkitNeume::Set(std::string elementId, std::string attrType, std::s else if (AttModule::SetVisual(element, attrType, attrValue)) success = true; + m_doc->GetDrawingPage()->LayOutTranscription(true); m_editInfo.import("status", success ? "OK" : "FAILURE"); m_editInfo.import("message", success ? "" : "Could not set attribute '" + attrType + "' to '" + attrValue + "'."); return success;