From 54a8136d5c4bbf2d8d1e93a86f6f88e374b3faeb 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); }