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.
- [#478] Rename 'Print preview tiled' to 'Preview Tiled PDF'.
- [#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
- [#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->setMy(my);
VAbstractTool::data.UpdateGObject(p1id, point);
firstPoint->blockSignals(true);
firstPoint->setPos(QPointF(mx, my));
firstPoint->blockSignals(false);
RefreshLine(p1id);
firstPoint->RefreshGeometry(*point);
}
else if (id == p2id)
{
@ -194,10 +191,7 @@ void VToolDoublePoint::DoChangePosition(quint32 id, qreal mx, qreal my)
point->setMx(mx);
point->setMy(my);
VAbstractTool::data.UpdateGObject(p2id, point);
secondPoint->blockSignals(true);
secondPoint->setPos(QPointF(mx, my));
secondPoint->blockSignals(false);
RefreshLine(p2id);
secondPoint->RefreshGeometry(*point);
}
}