bug 9458, fix Import Vcard can create multiple surnames with all selected as 'Primary'
This commit is contained in:
parent
05d4cc39e3
commit
2a55fd268c
@ -354,6 +354,7 @@ class VCardParser(object):
|
||||
surname.set_surname(sname.strip())
|
||||
surname.set_prefix(prefix.strip())
|
||||
name.add_surname(surname)
|
||||
name.set_primary_surname()
|
||||
|
||||
if len(data_fields) > 1 and data_fields[1].strip():
|
||||
given_name = ' '.join(self.unesc(
|
||||
|
Loading…
Reference in New Issue
Block a user