diff options
Diffstat (limited to 'addressbook/contact-editor/e-contact-editor-address.c')
-rw-r--r-- | addressbook/contact-editor/e-contact-editor-address.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/contact-editor/e-contact-editor-address.c b/addressbook/contact-editor/e-contact-editor-address.c index fbba8c9454..7df9cb8cb4 100644 --- a/addressbook/contact-editor/e-contact-editor-address.c +++ b/addressbook/contact-editor/e-contact-editor-address.c @@ -205,8 +205,10 @@ static void extract_info(EContactEditorAddress *editor) { ECardDeliveryAddress *address = editor->address; - if (!address) + if (!address) { address = e_card_delivery_address_new(); + editor->address = address; + } address->street = extract_field(editor, "entry-street" ); address->po = extract_field(editor, "entry-po" ); address->ext = extract_field(editor, "entry-ext" ); |