summaryrefslogtreecommitdiffstats
path: root/src/interface.cpp
diff options
context:
space:
mode:
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);
}