From d19a991cefc08d756ffc2edb03085e0329e333ae Mon Sep 17 00:00:00 2001 From: mpv Date: Wed, 26 Aug 2015 16:06:18 +0300 Subject: [PATCH] Make "create" event flushed immediately after "update": results may be created by Updater. (in the frames of issue #829 fix) --- src/Model/Model_Objects.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Model/Model_Objects.cpp b/src/Model/Model_Objects.cpp index 49bc5dfb7..71f28a123 100644 --- a/src/Model/Model_Objects.cpp +++ b/src/Model/Model_Objects.cpp @@ -664,6 +664,8 @@ void Model_Objects::synchronizeFeatures( aLoop->flush(aCreateEvent); aLoop->flush(aDeleteEvent); aLoop->flush(anUpdateEvent); + aLoop->flush(aCreateEvent); // after update of features, there could be results created + aLoop->flush(aDeleteEvent); // or deleted aLoop->flush(aRedispEvent); aLoop->flush(aToHideEvent); } -- 2.39.2