From 45e0b9d571801d84acfcbcb29a509ee82e377db1 Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Mon, 20 Nov 2017 16:44:38 +0000 Subject: [PATCH] Fix bug in previous commit --- gramps/gui/widgets/styledtexteditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gramps/gui/widgets/styledtexteditor.py b/gramps/gui/widgets/styledtexteditor.py index e93e601fc..582e51ca9 100644 --- a/gramps/gui/widgets/styledtexteditor.py +++ b/gramps/gui/widgets/styledtexteditor.py @@ -345,7 +345,7 @@ class StyledTextEditor(Gtk.TextView): if ((event.type == Gdk.EventType.BUTTON_PRESS) and (event.button == 1) and (self.url_match) and (event.get_state() & get_primary_mask()) or - not self.get_editable())): + not self.get_editable()): flavor = self.url_match[MATCH_FLAVOR] url = self.url_match[MATCH_STRING]