PD: [skip ci] disable undo/redo for the tmp. document created by the SubShapeBinder
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user