diff --git a/src/Mod/PartDesign/Gui/TaskHoleParameters.cpp b/src/Mod/PartDesign/Gui/TaskHoleParameters.cpp index fd34b1bd9a..e755ae6045 100644 --- a/src/Mod/PartDesign/Gui/TaskHoleParameters.cpp +++ b/src/Mod/PartDesign/Gui/TaskHoleParameters.cpp @@ -345,6 +345,7 @@ void TaskHoleParameters::holeCutTypeChanged(int index) // the HoleCutDepth is something different for countersinks and counterbores // therefore reset it, it will be reset to sensible values by setting the new HoleCutType pcHole->HoleCutDepth.setValue(0.0); + pcHole->HoleCutType.setValue(index); // when holeCutType was changed, reset HoleCutCustomValues to false because it should // be a purpose decision to overwrite the normed values @@ -352,8 +353,6 @@ void TaskHoleParameters::holeCutTypeChanged(int index) ui->HoleCutCustomValues->setChecked(false); pcHole->HoleCutCustomValues.setValue(false); - pcHole->HoleCutType.setValue(index); - // recompute to get the info about the HoleCutType properties recomputeFeature();