Merge with develop.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-05-18 13:18:08 +03:00
commit 84a56545ea
2 changed files with 3 additions and 8 deletions

View File

@ -22,6 +22,7 @@
- [#471] Add a 'Show/Hide' button for measurement diagram in Tape. - [#471] Add a 'Show/Hide' button for measurement diagram in Tape.
- [#478] Rename 'Print preview tiled' to 'Preview Tiled PDF'. - [#478] Rename 'Print preview tiled' to 'Preview Tiled PDF'.
- [#472] Add 'Full Name' column to Formula dialog. - [#472] Add 'Full Name' column to Formula dialog.
- [#487] True dart point always goes to origin when the label is moved.
# Version 0.4.5 # Version 0.4.5
- [#435] Valentina doesn't change the cursor. - [#435] Valentina doesn't change the cursor.

View File

@ -183,10 +183,7 @@ void VToolDoublePoint::DoChangePosition(quint32 id, qreal mx, qreal my)
point->setMx(mx); point->setMx(mx);
point->setMy(my); point->setMy(my);
VAbstractTool::data.UpdateGObject(p1id, point); VAbstractTool::data.UpdateGObject(p1id, point);
firstPoint->blockSignals(true); firstPoint->RefreshGeometry(*point);
firstPoint->setPos(QPointF(mx, my));
firstPoint->blockSignals(false);
RefreshLine(p1id);
} }
else if (id == p2id) else if (id == p2id)
{ {
@ -194,10 +191,7 @@ void VToolDoublePoint::DoChangePosition(quint32 id, qreal mx, qreal my)
point->setMx(mx); point->setMx(mx);
point->setMy(my); point->setMy(my);
VAbstractTool::data.UpdateGObject(p2id, point); VAbstractTool::data.UpdateGObject(p2id, point);
secondPoint->blockSignals(true); secondPoint->RefreshGeometry(*point);
secondPoint->setPos(QPointF(mx, my));
secondPoint->blockSignals(false);
RefreshLine(p2id);
} }
} }