From d16cd4f631c599e8c8ba211b55dccaf716930084 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Fri, 23 Aug 2019 16:28:06 +0800 Subject: [PATCH] App: fix Document::_abortTransaction() --- 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 e4fb9e1502..7958c466f6 100644 --- a/src/App/Document.cpp +++ b/src/App/Document.cpp @@ -1216,7 +1216,7 @@ void Document::_abortTransaction() FC_WARN("Cannot abort transaction while transacting"); } - if (!d->activeUndoTransaction) { + if (d->activeUndoTransaction) { Base::FlagToggler flag(d->rollback); Application::TransactionSignaller signaller(true,true);