X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Result.cpp;h=1816c54d990c9392093afc6958decc215000bf3c;hb=d3883990177d27a12b8a2278cdbb82250ff19b79;hp=c16732d99a9d9d0ad8ce117e7f5eede5ef277df0;hpb=96912644cf6607688466ac69f1f098fd2fff37b7;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Result.cpp b/src/ModelAPI/ModelAPI_Result.cpp index c16732d99..1816c54d9 100644 --- a/src/ModelAPI/ModelAPI_Result.cpp +++ b/src/ModelAPI/ModelAPI_Result.cpp @@ -27,10 +27,10 @@ bool ModelAPI_Result::setDisabled(std::shared_ptr theThis, cons aECreator->sendDeleted(document(), groupName()); } else { // un-disabled equals to created static Events_ID anEvent = Events_Loop::eventByName(EVENT_OBJECT_CREATED); - aECreator->sendUpdated(theThis, anEvent, false); // do not group: creation must be immediate + aECreator->sendUpdated(theThis, anEvent /*, false*/); // flush is in setCurrentFeature } static Events_ID EVENT_DISP = aLoop->eventByName(EVENT_OBJECT_TO_REDISPLAY); - aECreator->sendUpdated(theThis, EVENT_DISP, false); + aECreator->sendUpdated(theThis, EVENT_DISP/*, false*/); // flush is in setCurrentFeature return true; } return false;