summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2014-10-01 07:13:38 +0000
committerJazzyNico <nicoduf@yahoo.fr>2014-10-01 07:13:38 +0000
commit5939979ab65640db5575ba78f3287c6767577257 (patch)
tree31052ec97c1b88b7c6468658abb5794a0d1ba426 /src/verbs.cpp
parentFix for bug #690255 (Rename te_IN.po to te.po). (diff)
downloadinkscape-5939979ab65640db5575ba78f3287c6767577257.tar.gz
inkscape-5939979ab65640db5575ba78f3287c6767577257.zip
Fix for Bug #1358520 (show/hide other layers not properly recorded in undo history).
Fixed bugs: - https://launchpad.net/bugs/1358520 (bzr r13572)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 0c329cab8..ab0fc8d71 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1402,7 +1402,7 @@ void LayerVerb::perform(SPAction *action, void *data)
dt->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("No current layer."));
} else {
dt->toggleLayerSolo( dt->currentLayer() );
- DocumentUndo::maybeDone(sp_desktop_document(dt), "layer:solo", SP_VERB_LAYER_SOLO, _("Toggle layer solo"));
+ DocumentUndo::done(sp_desktop_document(dt), SP_VERB_LAYER_SOLO, _("Toggle layer solo"));
}
break;
}
@@ -1426,7 +1426,7 @@ void LayerVerb::perform(SPAction *action, void *data)
dt->messageStack()->flash(Inkscape::ERROR_MESSAGE, _("No current layer."));
} else {
dt->toggleLockOtherLayers( dt->currentLayer() );
- DocumentUndo::maybeDone(sp_desktop_document(dt), "layer:lockothers", SP_VERB_LAYER_LOCK_OTHERS, _("Lock other layers"));
+ DocumentUndo::done(sp_desktop_document(dt), SP_VERB_LAYER_LOCK_OTHERS, _("Lock other layers"));
}
break;
}