Skip to content

Commit

Permalink
App: fix rollback of dynamic property changes
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder authored and wwmayer committed Aug 17, 2019
1 parent c555a82 commit 54a8136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App/Document.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit 54a8136

Please sign in to comment.