Salome HOME
Do not mark document as Modified on IOR attribute setting
authorjfa <jfa@opencascade.com>
Wed, 21 Sep 2005 12:27:44 +0000 (12:27 +0000)
committerjfa <jfa@opencascade.com>
Wed, 21 Sep 2005 12:27:44 +0000 (12:27 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx
src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx

index bf9599366550d505ca3c55ce877dd9dac03a713c..ab6b6f11c80b471291b62a5a317bd3664601fbcd 100644 (file)
@@ -63,7 +63,7 @@ void SALOMEDSImpl_AttributeIOR::SetValue(const TCollection_ExtendedString& theVa
 
   SALOMEDSImpl_Study::IORUpdated(this);
 
-  SetModifyFlag(); //SRN: Mark the study as being modified, so it could be saved 
+  //SetModifyFlag(); //SRN: Mark the study as being modified, so it could be saved 
 }
 
 //=======================================================================
index c2f21e3e5f2e66428db73d3f217a946498bf86de..5f782eb334631b92edf6b66001cf8b14c0cb2fd3 100644 (file)
@@ -102,7 +102,7 @@ bool SALOMEDSImpl_StudyBuilder::DefineComponentInstance(const Handle(SALOMEDSImp
   //add IOR definition 
   SALOMEDSImpl_AttributeIOR::Set(aComponent->GetLabel(), IOR);  
 
-  _doc->Modify();
+  //_doc->Modify();
 
   return true;
 }