]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_OperationMgr.cpp
Salome HOME
Issue #83: renamed PluginManager to Session
[modules/shaper.git] / src / XGUI / XGUI_OperationMgr.cpp
index d10689f04bcc13445a3a0c2c99352f94672ba222..aa836f4cf581ee939ea733150ef6030a6a9baa51 100644 (file)
@@ -82,7 +82,7 @@ void XGUI_OperationMgr::validateOperation(ModuleBase_Operation* theOperation)
   QString anOperationId = theOperation->id();
   FeaturePtr aFeature = theOperation->feature();
   //Get validators for the Id
-  PluginManagerPtr aMgr = ModelAPI_PluginManager::get();
+  SessionPtr aMgr = ModelAPI_Session::get();
   ModelAPI_ValidatorsFactory* aFactory = aMgr->validators();
 
   bool isValid = aFactory->validate(aFeature);