mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-27 20:44:13 +02:00
4283ddad10
Fixing LinkElementCommand's property comparison (previous commit) means it now correctly detects a report-link colour/style mismatch -- which means it now correctly pops PotentialSelectorDialog for one, same as the GUI. Under headless --run there is nobody to answer a plain QDialog::exec(), so this hangs forever; confirmed directly with a timeout before adding this guard. qet.linkElements() now checks LinkElementCommand:: reportLinkNeedsPotentialChoice() before constructing the command and declines with a clear reason pointing at checkContinuity() and setConductorProperty(), the same choice addConductor() already makes about ConductorCreator's own equivalent ambiguous-potential dialog. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>