Skip to content

Commit

Permalink
Reset layout after change nc head shape
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Aug 14, 2024
1 parent 57818ed commit 877db2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/editortoolkit_neume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 877db2a

Please sign in to comment.