From 70eb263eb34901bfc98c2dad6615527a965adf1d Mon Sep 17 00:00:00 2001 From: M G Berberich Date: Wed, 4 Nov 2020 18:45:11 +0100 Subject: [PATCH] fixes bug not enabling ui-elements see: https://forum.freecadweb.org/viewtopic.php?p=445186&sid=45bd75e3ab8c4d830decf91e946f7391#p443362 --- src/Mod/PartDesign/App/FeatureHole.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/PartDesign/App/FeatureHole.cpp b/src/Mod/PartDesign/App/FeatureHole.cpp index ec3d4dcb2eb2..770a121df446 100644 --- a/src/Mod/PartDesign/App/FeatureHole.cpp +++ b/src/Mod/PartDesign/App/FeatureHole.cpp @@ -811,6 +811,9 @@ void Hole::onChanged(const App::Property *prop) HoleCutDepth.setReadOnly(true); HoleCutCountersinkAngle.setReadOnly(true); } + ProfileBased::onChanged(&HoleCutDiameter); + ProfileBased::onChanged(&HoleCutDepth); + ProfileBased::onChanged(&HoleCutCountersinkAngle); updateHoleCutParams(); } else if (prop == &DepthType) {