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

Unmovable items issue #43

Closed KirillovPavel closed 1 year ago

KirillovPavel commented 1 year ago

Items are still movable after pItem->setMovable(false); I assumed, that you forgot to check movability in Scene::mouseMoveEvent(). This fix worked fine for me: image

Tectu commented 1 year ago

That is correct - Thank you! :)

KirillovPavel commented 1 year ago

Hi! I forgot about mouseReleaseEvent(the same problem). My bad :)