void PartSet_Module::onPlaneSelected(double theX, double theY, double theZ)
{
myWorkshop->viewer()->setViewProjection(theX, theY, theZ);
- myWorkshop->actionsMgr()->setNestedActionsEnabled(true);
+ myWorkshop->actionsMgr()->update();
}
void PartSet_Module::onLaunchOperation(std::string theName, boost::shared_ptr<ModelAPI_Feature> theFeature)
std::list<XGUI_ViewerPrs> aHighlighted = aDisplayer->GetHighlighted();
aPreviewOp->init(theFeature, aSelected, aHighlighted);
}
- myWorkshop->actionsMgr()->setActionChecked(anOperation->getDescription()->operationId(), true);
+ myWorkshop->actionsMgr()->updateCheckState();
sendOperation(anOperation);
}