mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-23 07:04:14 +02:00
bab2707fff
The window stays open while the drawing is wired, so the table takes up what the cables say on its own: each cable of the project is watched, its change reloads the table after CableManager has worked the labels out again, and a cable taken away empties the cells right away. A reload never costs the user his own work: cell edits not applied yet are kept, and a cell being typed in is left alone. A cell worked out from a cable refuses to be written through setData(), so the apply button, the paste and the deletion of texts leave it alone too.