App: fix rollback of dynamic property changes
This commit is contained in:
@@ -1016,7 +1016,7 @@ void Document::addOrRemovePropertyOfObject(TransactionalObject* obj, Property *p
|
||||
_openTransaction(name,tid);
|
||||
}
|
||||
}
|
||||
if (d->activeUndoTransaction)
|
||||
if (d->activeUndoTransaction && !d->rollback)
|
||||
d->activeUndoTransaction->addOrRemoveProperty(obj, prop, add);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user