PartSet_WidgetSketchLabel::~PartSet_WidgetSketchLabel()
{
- erasePreviewPlanes();
}
bool PartSet_WidgetSketchLabel::setSelection(QList<ModuleBase_ViewerPrs>& theValues,
ModuleBase_ViewerPrs aPrs = aSelected.first();
bool aDone = ModuleBase_WidgetValidated::setSelection(aSelected, false);
- if (aDone)
+ if (aDone) {
updateByPlaneSelected(aPrs);
+ updateObject(myFeature);
+ }
}
void PartSet_WidgetSketchLabel::updateByPlaneSelected(const ModuleBase_ViewerPrs& thePrs)