From: srn Date: Mon, 21 Mar 2005 08:26:31 +0000 (+0000) Subject: Fixed bug in method LoadWith for case when study is filled by Python script X-Git-Tag: T_22_03_05~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9892510e789c093cee804b2aeaa55a732cfcd724;p=modules%2Fkernel.git Fixed bug in method LoadWith for case when study is filled by Python script --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx index ee11643f1..db842c476 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx @@ -399,7 +399,6 @@ bool SALOMEDSImpl_StudyBuilder::LoadWith(const Handle(SALOMEDSImpl_SComponent)& if (aLocked) anSCO->GetStudy()->GetProperties()->SetLocked(true); } else { _errorCode = "No persistent file"; - return false; } return true;