From: jfa Date: Wed, 21 Sep 2005 12:27:44 +0000 (+0000) Subject: Do not mark document as Modified on IOR attribute setting X-Git-Tag: V3_1_0a1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=68dccf8d7a7eca8a50813e1392426a54a41d4a20;p=modules%2Fkernel.git Do not mark document as Modified on IOR attribute setting --- diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx index bf9599366..ab6b6f11c 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx @@ -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 } //======================================================================= diff --git a/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx b/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx index c2f21e3e5..5f782eb33 100644 --- a/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx +++ b/src/SALOMEDSImpl/SALOMEDSImpl_StudyBuilder.cxx @@ -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; }