]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Once more file PluginManager->Session
authormpv <mikhail.ponikarov@opencascade.com>
Thu, 11 Sep 2014 08:22:10 +0000 (12:22 +0400)
committermpv <mikhail.ponikarov@opencascade.com>
Thu, 11 Sep 2014 08:22:10 +0000 (12:22 +0400)
src/XGUI/XGUI_Workshop.cpp

index fa036dbbc3ea64eeabbf36c43bdd11f7774117ae..eeff54c4496308cd0437276cf3d2c6e6cc96b356 100644 (file)
@@ -305,7 +305,7 @@ void XGUI_Workshop::processEvent(const Events_Message* theMessage)
     }
   }
   if (!isSalomeMode()) {
-    PluginManagerPtr aMgr = ModelAPI_PluginManager::get();
+    SessionPtr aMgr = ModelAPI_Session::get();
     DocumentPtr aDoc = aMgr->rootDocument();
     if (aDoc->isModified() != myMainWindow->isModifiedState())
       myMainWindow->setModifiedState(aDoc->isModified());