From d9dd5e1f74846314a4a1cea2c29925c8e6e29099 Mon Sep 17 00:00:00 2001 From: mkr Date: Thu, 13 Apr 2006 14:05:11 +0000 Subject: [PATCH] Fix for IPAL12128 : CRASH after trying to run dataflow from the restored study with SALOME started with "--gui" key. --- src/GEOM_I_Superv/GEOM_Superv_i.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/GEOM_I_Superv/GEOM_Superv_i.cc b/src/GEOM_I_Superv/GEOM_Superv_i.cc index ff1ebd242..38455e4ce 100644 --- a/src/GEOM_I_Superv/GEOM_Superv_i.cc +++ b/src/GEOM_I_Superv/GEOM_Superv_i.cc @@ -108,8 +108,12 @@ void GEOM_Superv_i::SetStudyID( CORBA::Long theId ) SALOME::Session_var aSession = SALOME::Session::_narrow(anObject); if ( !CORBA::is_nil(aSession) ) { int aStudyID = aSession->GetActiveStudyId(); - if ( theId != aStudyID ) MESSAGE("Warning : given study ID theId="< 0) { // mkr : IPAL12128 + MESSAGE("Warning : given study ID theId="<