7388: Clicking on www link in Welcome Gramplet when detached causes crash
This commit is contained in:
parent
1539830914
commit
b2dec24edf
@ -769,7 +769,10 @@ class StyledTextEditor(Gtk.TextView):
|
||||
return
|
||||
# If ok, then let's open
|
||||
obj = find_parent_with_attr(self, attr="dbstate")
|
||||
if obj:
|
||||
display_url(url, obj.uistate)
|
||||
else:
|
||||
display_url(url)
|
||||
|
||||
def _copy_url_cb(self, menuitem, url, flavor):
|
||||
"""Copy url to both useful selections."""
|
||||
|
Loading…
Reference in New Issue
Block a user