From 0f4649de299e89a70e158876e5791abf883690cf Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 16 Sep 2005 08:55:09 +0000 Subject: [PATCH] Prevent connecting of not unloaded study: now SALOMEDS::Study::_name keeps full path of the study file --- src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx index 00c38c889..0189a3c5c 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx @@ -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); } -- 2.39.2