Fix bug in previous commit

This commit is contained in:
Nick Hall 2017-11-20 16:44:38 +00:00
parent 2bc4139c65
commit 45e0b9d571

View File

@ -345,7 +345,7 @@ class StyledTextEditor(Gtk.TextView):
if ((event.type == Gdk.EventType.BUTTON_PRESS) and if ((event.type == Gdk.EventType.BUTTON_PRESS) and
(event.button == 1) and (self.url_match) and (event.button == 1) and (self.url_match) and
(event.get_state() & get_primary_mask()) or (event.get_state() & get_primary_mask()) or
not self.get_editable())): not self.get_editable()):
flavor = self.url_match[MATCH_FLAVOR] flavor = self.url_match[MATCH_FLAVOR]
url = self.url_match[MATCH_STRING] url = self.url_match[MATCH_STRING]