From 1d8ecb13d5e16e4c75eba104ca6ffe0a66b12097 Mon Sep 17 00:00:00 2001 From: spo Date: Fri, 10 Jul 2015 13:48:16 +0300 Subject: [PATCH] Model_Data::mySendAttributeUpdated is taken into account when processing the name change. --- src/Model/Model_Data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Model_Data.cpp b/src/Model/Model_Data.cpp index 29a9266a5..2f1eb6f95 100644 --- a/src/Model/Model_Data.cpp +++ b/src/Model/Model_Data.cpp @@ -87,7 +87,7 @@ void Model_Data::setName(const std::string& theName) if (isModified) aName->Set(theName.c_str()); } - if (isModified) + if (mySendAttributeUpdated && isModified) ModelAPI_ObjectRenamedMessage::send(myObject, anOldName, theName, this); } -- 2.39.2