From d18d4895994b8f3d3f484a7e9ef6548ba104303b Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Mon, 12 Aug 2019 21:44:03 +0800 Subject: [PATCH] App: fix rollback of dynamic property changes --- src/App/Document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App/Document.cpp b/src/App/Document.cpp index 331b28c93c..4bee1a70d3 100644 --- a/src/App/Document.cpp +++ b/src/App/Document.cpp @@ -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); }