diff options
| author | Martin Owens <doctormo@gmail.com> | 2019-03-06 23:27:46 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2019-03-06 23:27:46 +0000 |
| commit | 62b96bcc3970e108e0127005f441949d29c9e08d (patch) | |
| tree | a8dff03a1816a75a442398b2867b67a76dae16fe /src/verbs.cpp | |
| parent | Merge: Fix: crash on launch with old pencil tool settings (diff) | |
| parent | fix toggling snap with key shortcut breaks history (diff) | |
| download | inkscape-62b96bcc3970e108e0127005f441949d29c9e08d.tar.gz inkscape-62b96bcc3970e108e0127005f441949d29c9e08d.zip | |
Merge: fix toggling snap with key shortcut breaks history
Diffstat (limited to 'src/verbs.cpp')
| -rw-r--r-- | src/verbs.cpp | 3 |
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; |
