PD: [skip ci] disable undo/redo for the tmp. document created by the SubShapeBinder

This commit is contained in:
wmayer
2022-10-27 14:35:47 +02:00
committed by Uwe
parent 1833ae86de
commit a22a8a00a1
+1
View File
@@ -571,6 +571,7 @@ void SubShapeBinder::update(SubShapeBinder::UpdateOption options) {
auto tmpDoc = App::GetApplication().newDocument(
"_tmp_binder", nullptr, false, true);
tmpDoc->setUndoMode(0);
auto objs = tmpDoc->copyObject({ obj }, true, true);
if (!objs.empty()) {
for (auto it = objs.rbegin(); it != objs.rend(); ++it)