From cb9c625f18ed64e1e9d2f378fa2a601367fc2fe3 Mon Sep 17 00:00:00 2001 From: John Smith Date: Wed, 1 Aug 2012 18:20:14 +0900 Subject: Fix for 918894 : Remove link is reported as Ungroup in Undo history (bzr r11580) --- src/interface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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(_item), &children); + sp_item_group_ungroup(static_cast(_item), &children, false); + DocumentUndo::done(_desktop->doc(), SP_VERB_NONE, _("Remove link")); g_slist_free(children); } -- cgit v1.2.3