mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-10 22:24:13 +02:00
44b2129d5a
A folio report arrow's text looks for a wire to show: on the arrow itself, else on the arrow it is linked to, through that arrow's first terminal. Some report symbols have no terminal -- ref_voyant_2_h.elmt in the collection, and older collections' arrows -- so a project linking an arrow with no wire to one of them crashed QElectroTech as it opened. The other arrow's terminals are now checked first, as the arrow's own already were. Found on a project attached to the forum (saved by 0.70), which crashed on opening. Test: tst_resaveunchanged::reportArrowWithoutTerminalOpens builds the case from Projet_vierge.qet's own symbols; it crashes without the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019Wga9B92BNurDEtxxtCDxf