mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-11 22:54:12 +02:00
727188f564
Element::linkedElements() sorted the element's own list of linked elements by position before returning it, so any caller reordered what is saved. #1441 restores the file's order after linking; #1442 fills the link table through linkedElements(), which sorted it again, so on master a coil's contacts are saved in position order and tst_resaveunchanged::savedLinkOrderKept fails. linkedElements() now returns a sorted copy. Callers still get the list by position; the saved order is left alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019Wga9B92BNurDEtxxtCDxf