diff --git a/src/verbs.cpp b/src/verbs.cpp index d56d9801f32b4a0e3198a6bddadaadf5c0e26bd8..bfdae4e0bf7a1b953e42a4f3e4517d7013b8cc48 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -2056,8 +2056,11 @@ void ZoomVerb::perform(SPAction *action, void *data) sp_namedview_toggle_guides(doc, repr); break; case SP_VERB_TOGGLE_SNAPPING: + { + DocumentUndo::ScopedInsensitive _no_undo(doc); dt->toggleSnapGlobal(); break; + } case SP_VERB_TOGGLE_GRID: dt->toggleGrids(); break;