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

Scene: Potentially unnecessary call to simplify wires #39

Open Tectu opened 1 year ago

Tectu commented 1 year ago

The Scene::mouseReleaseEvent() calls wire::simplify at the end of moving nodes. This is potentially redundant as the corresponding CommandItemMove command already simplifies wires upon redo() and undo().

Check whether this is really needed and clean up if not.