mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Minor fix : locked item isn't moved by arrow key or multiple selections.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4030 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -76,6 +76,7 @@ int ElementsMover::beginMovement(Diagram *diagram, QGraphicsItem *driver_item) {
|
||||
current_movement_ = QPointF(0.0, 0.0);
|
||||
|
||||
moved_content_ = diagram -> selectedContent();
|
||||
moved_content_.removeNonMovableItems();
|
||||
|
||||
if (!moved_content_.count()) return(-1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user