mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-19 20:44:16 +02:00
fa498a3d20
ConductorCreator::existingPotential() looked for an existing potential only at the terminals being wired and, for a report, at its partner's first conductor. A wire drawn to the free side of a terminal element whose other side is wired, or to the far side of such a chain, found none and got the folio's default properties: the neutral after a terminal strip came out solid and unnumbered while relatedPotentialConductors() counts it as part of the dashed, numbered N potential. Each terminal is now followed through relatedPotentialTerminal() -- the rule relatedPotentialConductors() applies -- until a wired terminal is found, and two terminals on one potential count once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>