// if the restored value should be hidden, aDone = true to set
// reset state for the widget in the parent
aDone = restoreCurentValue();
+ emit objectUpdated();
}
else {
bool isOk;
// if the restored value should be hidden, aDone = true to set
// reset state for the widget in the parent
aDone = restoreCurentValue();
+ emit objectUpdated();
}
else
aDone = ModuleBase_WidgetDoubleValue::resetCustom();
}
}
}
- else {
+ // it is possible that feature is presentable and has results, so we should check visibility
+ // of results if presentation is not shown (e.g. Sketch Circle/Arc features)
+ if (!aVisible) {
// check if all results of the feature are visible
FeaturePtr aFeature = ModelAPI_Feature::feature(theObject);
std::list<ResultPtr> aResults = aFeature->results();