[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 c608c77d2b
commit 886c683f65

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);
}