bool isModified = false;
if (theFeature.get()) {
- displayPresentation(ModuleBase_IModule::CustomizeArguments, theUpdateViewer);
- displayPresentation(ModuleBase_IModule::CustomizeResults, theUpdateViewer);
- displayPresentation(ModuleBase_IModule::CustomizeHighlightedObjects, theUpdateViewer);
+ displayPresentation(theFlag, theUpdateViewer);
isModified = true;
}
return isModified;
const bool theUpdateViewer)
{
myIsActive[theFlag] = false;
- bool isModified = false;
-
- erasePresentation(ModuleBase_IModule::CustomizeArguments, theUpdateViewer);
- erasePresentation(ModuleBase_IModule::CustomizeResults, theUpdateViewer);
- erasePresentation(ModuleBase_IModule::CustomizeHighlightedObjects, theUpdateViewer);
- isModified = true;
-
- return isModified;
+ erasePresentation(theFlag, theUpdateViewer);
+ return true;
}
bool PartSet_CustomPrs::displayPresentation(