simulton / QSchematic

A library that allows creating diagrams such as flowcharts or even proper engineering schematics within a Qt application.
https://simulton.com
MIT License
231 stars 60 forks source link

Wire re-connects to non-hidden output connector #34

Closed Tectu closed 1 year ago

Tectu commented 1 year ago

When hiding a connector which already has a wire connected to it, the wire will remain connected. Furthermore, if then moving a non-hidden connector onto the wire where the hidden connector is/was will re-connect the wire to the non-hidden connector.

When hiding a connector, the wire manager's detach_wire() must be invoked.

https://user-images.githubusercontent.com/1385320/196545179-c926a6a4-4aea-449a-b6b7-df8b7c308f3a.mp4

Tectu commented 1 year ago

Fixed in e1e06827cb12a2fcbba4170a0ae1f9df0aa971ae