[TechDraw] Fix DrawView.setPosition signaling changes always

This commit is contained in:
pavltom
2023-11-16 09:48:04 +01:00
committed by WandererFan
parent 18aeb4e812
commit 5a6c3b2606

View File

@@ -455,7 +455,7 @@ void DrawView::setPosition(double x, double y, bool force)
if ( (!isLocked()) ||
(force) ) {
double currX = X.getValue();
double currY = X.getValue();
double currY = Y.getValue();
if (!DrawUtil::fpCompare(currX, x, 0.001)) { // 0.001mm tolerance
X.setValue(x);
}