]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Prevent connecting of not unloaded study: now SALOMEDS::Study::_name keeps full path...
authorjfa <jfa@opencascade.com>
Fri, 16 Sep 2005 08:55:09 +0000 (08:55 +0000)
committerjfa <jfa@opencascade.com>
Fri, 16 Sep 2005 08:55:09 +0000 (08:55 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx

index 00c38c889a0f41fba411a2b349e0be46fe3708be..0189a3c5ce30c75f78fac9a804a3656a99a83f2e 100644 (file)
@@ -801,6 +801,7 @@ void SALOMEDSImpl_Study::URL(const TCollection_AsciiString& url)
   _errorCode = "";
   _URL = url;
 
+  /*jfa: Now name of SALOMEDS study will correspond to name of SalomeApp study
   TCollection_AsciiString tmp(_URL);    
 
   char *aName = (char*)tmp.ToCString();
@@ -810,7 +811,8 @@ void SALOMEDSImpl_Study::URL(const TCollection_AsciiString& url)
       aName = adr;
       adr = strtok(NULL, "/");
     }
-  Name(aName);
+  Name(aName);*/
+  Name(url);
 }