summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index d56d9801f..bfdae4e0b 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;