Force tree update

This commit is contained in:
edi271
2022-02-11 14:41:56 +01:00
committed by WandererFan
parent 85e833399b
commit 4744ec5103

View File

@@ -2280,6 +2280,9 @@ namespace TechDrawGui {
dim->References2D.setValues(objs, subs);
cmd->doCommand(cmd->Doc, "App.activeDocument().%s.addView(App.activeDocument().%s)", PageName.c_str(), FeatName.c_str());
dim->recomputeFeature();
//Horrible hack to force Tree update
double x = objFeat->X.getValue();
objFeat->X.setValue(x);
return dim;
}