]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix the deletion events problems
authormpv <mpv@opencascade.com>
Fri, 20 Mar 2015 07:49:07 +0000 (10:49 +0300)
committermpv <mpv@opencascade.com>
Fri, 20 Mar 2015 07:49:07 +0000 (10:49 +0300)
src/Model/Model_Document.cpp

index 53683dc4dc8fd2f0294a262580f1e6b0ed433a05..0d5a39941290618b33ec3e5bbba5e3f945633225 100644 (file)
@@ -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);