minor fixes

This commit is contained in:
wmayer
2018-10-08 12:27:03 +02:00
parent 1f3905810c
commit 4ac34d06a8
5 changed files with 21 additions and 19 deletions

View File

@@ -1098,8 +1098,8 @@ unsigned int Document::getMaxUndoStackSize(void)const
return d->UndoMaxStackSize;
}
void Document::onBeforeChange(const Property* prop) {
void Document::onBeforeChange(const Property* prop)
{
signalBeforeChange(*this, *prop);
}
@@ -2255,11 +2255,12 @@ int Document::recompute()
// if something happened break execution of recompute
return -1;
}
signalRecomputedObject(*(*objIt));
}
if ((*objIt)->isTouched() || doRecompute) {
(*objIt)->purgeTouched();
signalRecomputedObject(*(*objIt));
// force recompute of all dependent objects
for (auto inObjIt : (*objIt)->getInList())
inObjIt->enforceRecompute();