From: mpv Date: Fri, 20 Mar 2015 07:49:07 +0000 (+0300) Subject: Fix the deletion events problems X-Git-Tag: V_1.1.0~102 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=af7e6fdbea92a91e74a3c7b6ab340c19badb9d6a;p=modules%2Fshaper.git Fix the deletion events problems --- diff --git a/src/Model/Model_Document.cpp b/src/Model/Model_Document.cpp index 53683dc4d..0d5a39941 100644 --- a/src/Model/Model_Document.cpp +++ b/src/Model/Model_Document.cpp @@ -928,7 +928,7 @@ void Model_Document::synchronizeFeatures(const bool theMarkUpdated, const bool t static Events_ID aCreateEvent = Events_Loop::eventByName(EVENT_OBJECT_CREATED); static Events_ID anUpdateEvent = Events_Loop::eventByName(EVENT_OBJECT_UPDATED); static Events_ID aRedispEvent = aLoop->eventByName(EVENT_OBJECT_TO_REDISPLAY); - static Events_ID aDeleteEvent = Events_Loop::eventByName(EVENT_OBJECT_UPDATED); + static Events_ID aDeleteEvent = Events_Loop::eventByName(EVENT_OBJECT_DELETED); static Events_ID aToHideEvent = aLoop->eventByName(EVENT_OBJECT_TO_REDISPLAY); aLoop->activateFlushes(false);