Skip to content

Commit

Permalink
Break when last element
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Aug 14, 2023
1 parent ffcf151 commit 83ac0e7
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 @@ -2811,6 +2811,7 @@ bool EditorToolkitNeume::Ungroup(std::string groupType, std::vector<std::string>
fparent->ReorderByXPos();
uuidArray << (*it);
it = elementIds.erase(it);
if (it == elementIds.end()) break;
el = m_doc->GetDrawingPage()->FindDescendantByID(*it);
}
}
Expand Down

0 comments on commit 83ac0e7

Please sign in to comment.