diff options
Diffstat (limited to 'addressbook/contact-editor/e-contact-editor-fullname.c')
-rw-r--r-- | addressbook/contact-editor/e-contact-editor-fullname.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addressbook/contact-editor/e-contact-editor-fullname.c b/addressbook/contact-editor/e-contact-editor-fullname.c index 79f458aa22..05e8d45702 100644 --- a/addressbook/contact-editor/e-contact-editor-fullname.c +++ b/addressbook/contact-editor/e-contact-editor-fullname.c @@ -205,8 +205,11 @@ static void extract_info(EContactEditorFullname *editor) { ECardName *name = editor->name; - if (!name) + if (!name) { name = e_card_name_new(); + editor->name = name; + } + name->prefix = extract_field(editor, "entry-title" ); name->given = extract_field(editor, "entry-first" ); name->additional = extract_field(editor, "entry-middle"); |