Gui: update gizmo state based on new property

This commit is contained in:
captain0xff
2025-09-10 19:49:11 +05:30
committed by Kacper Donat
parent 1f96b30832
commit 603e0bc6e5
2 changed files with 13 additions and 8 deletions

View File

@@ -367,7 +367,6 @@ void TaskChamferParameters::setupGizmos(ViewProviderDressUp* vp)
angleGizmo->setVisibility(false);
secondDistanceGizmo->setProperty(ui->chamferSize);
secondDistanceGizmo->setDragLength(ui->chamferSize->value().getValue());
break;
case Part::ChamferType::twoDistances:
@@ -375,7 +374,6 @@ void TaskChamferParameters::setupGizmos(ViewProviderDressUp* vp)
angleGizmo->setVisibility(false);
secondDistanceGizmo->setProperty(ui->chamferSize2);
secondDistanceGizmo->setDragLength(ui->chamferSize2->value().getValue());
break;
case Part::ChamferType::distanceAngle: