+ // unblock the flush signals and up them after this
+ aLoop->activateFlushes(true);
+
+ aLoop->flush(aCreateEvent);
+ aLoop->flush(aRedispEvent);
+ aLoop->flush(aDeleteEvent);
+}
+
+void Model_Document::setCurrentFeatureUp()
+{
+ // on remove just go up for minimum step: highlight external objects in sketch causes
+ // problems if it is true: here and in "setCurrentFeature"
+ FeaturePtr aCurrent = currentFeature(false);
+ if (aCurrent.get()) { // if not, do nothing because null is the upper
+ FeaturePtr aPrev = myObjs->nextFeature(aCurrent, true);
+ setCurrentFeature(aPrev, false);
+ }