Skip to content
Snippets Groups Projects
Commit 075ceacf authored by Philipp Hörist's avatar Philipp Hörist
Browse files

VCard Window: fix URI

Fixes #8902
parent a4f08b3b
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,10 @@ class VcardWindow:
if entry_name in ('URL_label',
'EMAIL_WORK_USERID_label',
'EMAIL_HOME_USERID_label'):
widget.set_uri('mailto:' + value)
if entry_name == 'URL_label':
widget.set_uri(value)
else:
widget.set_uri('mailto:' + value)
widget.set_label(value)
self.xml.get_object(entry_name).show()
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment