EditableDatumLabel : Change the 'invisibleToMouse' to 'visibleToMouse' to avoid double negation.

Also add parameter to startEdit to set this setting. Defaulting to false. So that we don't have to set manually again and again in tool settings.
This commit is contained in:
Paddle
2023-10-18 16:05:36 +02:00
committed by abdullahtahiriyo
parent 1a88ee16e0
commit 20e41aea0b
3 changed files with 10 additions and 6 deletions

View File

@@ -529,7 +529,7 @@ void InteractiveScale::collectPoint(const SbVec3f& pos3d)
midPoint = (points[0] + points[1]) / 2;
measureLabel->startEdit(getDistance(points[1]), this);
measureLabel->startEdit(getDistance(points[1]), this, true);
Q_EMIT enableApplyBtn();
}