From 2823f7ba9ebc5f02c3a49799bd59b01116bc6955 Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Thu, 16 May 2024 12:22:39 -0400 Subject: [PATCH] Sort staves only if has multiple staves --- src/editortoolkit_neume.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/editortoolkit_neume.cpp b/src/editortoolkit_neume.cpp index 87e6462f996..1882808daaf 100644 --- a/src/editortoolkit_neume.cpp +++ b/src/editortoolkit_neume.cpp @@ -2046,6 +2046,7 @@ bool EditorToolkitNeume::SortStaves() } Object *page = m_doc->GetDrawingPage(); + if (page->GetChildCount(SYSTEM) <= 1) return true; page->StableSort(StaffSort());