From af7e6fdbea92a91e74a3c7b6ab340c19badb9d6a Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 20 Mar 2015 10:49:07 +0300 Subject: [PATCH] Fix the deletion events problems --- src/Model/Model_Document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2