Take a single undo/redo snapshot when pasting from clipboard

This commit is contained in:
Enrico Turri 2019-07-26 13:06:49 +02:00
parent eefd950e16
commit 9593da2613

View File

@ -4719,7 +4719,7 @@ void Plater::paste_from_clipboard()
if (!can_paste_from_clipboard())
return;
this->take_snapshot(_(L("Paste From Clipboard")));
Plater::TakeSnapshot snapshot(this, _(L("Paste From Clipboard")));
p->view3D->get_canvas3d()->get_selection().paste_from_clipboard();
}