diff --git a/gramps/gui/widgets/undoablestyledbuffer.py b/gramps/gui/widgets/undoablestyledbuffer.py index e89925b86ed..deaac5811ce 100644 --- a/gramps/gui/widgets/undoablestyledbuffer.py +++ b/gramps/gui/widgets/undoablestyledbuffer.py @@ -112,6 +112,8 @@ def undo_disabled(self): self.not_undoable_action = oldflag def on_tag_insert_undoable(self, buffer, tag, start, end): + if tag.get_property("name") == "hyperlink": + return if not self.undo_in_progress: self._empty_redo_stack() if self.not_undoable_action: