]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fixed bug in method LoadWith for case when study is filled by Python script
authorsrn <srn@opencascade.com>
Mon, 21 Mar 2005 08:26:31 +0000 (08:26 +0000)
committersrn <srn@opencascade.com>
Mon, 21 Mar 2005 08:26:31 +0000 (08:26 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx

index ee11643f1f8da8affcbbc7545c96f30eddc21b69..db842c476c7bafb143fe8965a76c3b8a7cb291e7 100644 (file)
@@ -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;