Salome HOME
Issue #3172: Valid partition is invalid after save/open saved document
[modules/shaper.git] / src / Model / Model_Document.cpp
index 1efd395afc2519c15626f4bd9d77bdc561af615c..cff3d18404df54506d96644a395866659535a9b7 100644 (file)
@@ -1505,6 +1505,9 @@ void Model_Document::setCurrentFeature(
   myIsSetCurrentFeature = false;
   // unblock  the flush signals and up them after this
   aLoop->activateFlushes(isActive);
+
+  static Events_ID kUpdatedSel = aLoop->eventByName(EVENT_UPDATE_SELECTION);
+  aLoop->flush(kUpdatedSel);
 }
 
 void Model_Document::setCurrentFeatureUp()