]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
Fix problem with wrong call of method setIsSaved from GUI.
authormpa <mpa@opencascade.com>
Tue, 17 Jan 2017 09:01:33 +0000 (12:01 +0300)
committermpa <mpa@opencascade.com>
Tue, 17 Jan 2017 09:01:33 +0000 (12:01 +0300)
src/SALOMEDS/SALOMEDS_Study_i.cxx
src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx

index 63bf3c60f51632e4cbadd4b11f750a13951e2817..ad532e303dd0fbf3460fa2985df2a5e3ebdf4acf 100644 (file)
@@ -296,6 +296,7 @@ void SALOMEDS_Study_i::Init()
     CORBA::String_var IORStudy = _orb->object_to_string(aStudy);
     _impl->SetTransientReference((char*)IORStudy.in());
   }
+  _impl->GetDocument()->SetModified(false);
 
 }
 
index 42bc8839b3ce665b5df35c03dcd46438fb044ebe..d10e3383e61677bf4024e62e606af14e8be60a16 100644 (file)
@@ -1897,8 +1897,6 @@ bool SALOMEDSImpl_Study::IsModified()
 std::string SALOMEDSImpl_Study::URL()
 {
   _errorCode = "";
-  if ( _URL.empty() )
-    return Kernel_Utils::AddExtension( _name );
   return _URL;
 }