// Result construction menu
aList.append(action("HIDE_CMD"));
aList.append(action("SHOW_ONLY_CMD"));
- aList.append(action("HIDEALL_CMD"));
aList.append(action("COLOR_CMD"));
myViewerMenu[ModelAPI_ResultConstruction::group()] = aList;
// Result part menu
aList.append(mySeparator);
aList.append(action("HIDE_CMD"));
aList.append(action("SHOW_ONLY_CMD"));
- aList.append(action("HIDEALL_CMD"));
myViewerMenu[ModelAPI_ResultBody::group()] = aList;
// Group menu
myViewerMenu[ModelAPI_ResultGroup::group()] = aList;
aActions.append(action("HIDE_CMD"));
aActions.append(action("COLOR_CMD"));
}
+ // hide all is shown always even if selection in the viewer is empty
+ aActions.append(action("HIDEALL_CMD"));
theMenu->addActions(aActions);
#ifndef HAVE_SALOME