void XGUI_PropertyPanel::updateContentWidget(FeaturePtr theFeature)
{
// Invalid feature case on abort of the operation
+ if (theFeature.get() == NULL)
+ return;
if(!theFeature->data())
return;
foreach(ModuleBase_ModelWidget* eachWidget, myWidgets)
myActiveWidget->setHighlighted(false);
}
if(theWidget) {
+ if (theWidget)
+ emit beforeWidgetActivated(theWidget);
theWidget->activate();
theWidget->setHighlighted(true);
}