summaryrefslogtreecommitdiffstats
path: root/src/interface.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-08-01 09:20:14 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-08-01 09:20:14 +0000
commitcb9c625f18ed64e1e9d2f378fa2a601367fc2fe3 (patch)
tree2997ec1cecb9588c9675071af7e0d794ef1e724d /src/interface.cpp
parentFix for 1029302 : Fill/Stroke dialog does not update on tool change (diff)
downloadinkscape-cb9c625f18ed64e1e9d2f378fa2a601367fc2fe3.tar.gz
inkscape-cb9c625f18ed64e1e9d2f378fa2a601367fc2fe3.zip
Fix for 918894 : Remove link is reported as Ungroup in Undo history
(bzr r11580)
Diffstat (limited to 'src/interface.cpp')
-rw-r--r--src/interface.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index 25799b7b8..1d09f2b72 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -1960,7 +1960,8 @@ void ContextMenu::AnchorLinkFollow(void)
void ContextMenu::AnchorLinkRemove(void)
{
GSList *children = NULL;
- sp_item_group_ungroup(static_cast<SPAnchor*>(_item), &children);
+ sp_item_group_ungroup(static_cast<SPAnchor*>(_item), &children, false);
+ DocumentUndo::done(_desktop->doc(), SP_VERB_NONE, _("Remove link"));
g_slist_free(children);
}