Skip to content

Commit

Permalink
Sort staves only if has multiple staves
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed May 16, 2024
1 parent 6757711 commit 2823f7b
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 @@ -2046,6 +2046,7 @@ bool EditorToolkitNeume::SortStaves()
}

Object *page = m_doc->GetDrawingPage();
if (page->GetChildCount(SYSTEM) <= 1) return true;

page->StableSort(StaffSort());

Expand Down

0 comments on commit 2823f7b

Please sign in to comment.