]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for bug IPAL10175 : Result of Dataflow execution is not add in study.
authormkr <mkr@opencascade.com>
Fri, 7 Oct 2005 08:47:41 +0000 (08:47 +0000)
committermkr <mkr@opencascade.com>
Fri, 7 Oct 2005 08:47:41 +0000 (08:47 +0000)
src/Session/Session_Session_i.cxx

index 8da4a3472543bf31db0dbc869ffd4737e391d153..41869b4d3a234262345768a0a0f8b56ad555010e 100755 (executable)
@@ -208,8 +208,8 @@ SALOME::StatSession SALOME_Session_i::GetStatSession()
 CORBA::Long SALOME_Session_i::GetActiveStudyId()
 {
   long aStudyId=-1;
-  //if ( SUIT_Session::session() && SUIT_Session::session()->activeApplication() ) {
-  //  aStudyId = SUIT_Session::session()->getActiveStudy()->getStudyId();
-  //}
+  if ( SUIT_Session::session() && SUIT_Session::session()->activeApplication() ) {
+    aStudyId = SUIT_Session::session()->activeApplication()->activeStudy()->id();
+  }
   return aStudyId;
 }