From f3658c22d2435b61622abf5187ae9fc44dc9fb52 Mon Sep 17 00:00:00 2001 From: mkr Date: Fri, 7 Oct 2005 08:47:41 +0000 Subject: [PATCH] Fix for bug IPAL10175 : Result of Dataflow execution is not add in study. --- src/Session/Session_Session_i.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Session/Session_Session_i.cxx b/src/Session/Session_Session_i.cxx index 8da4a3472..41869b4d3 100755 --- a/src/Session/Session_Session_i.cxx +++ b/src/Session/Session_Session_i.cxx @@ -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; } -- 2.39.2