aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 1b7bf6b202..17a6c52119 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -506,8 +506,8 @@ categories_clicked(GtkWidget *button, EContactEditor *editor)
static void
save_card (EContactEditor *ce)
{
- e_card_simple_sync_card (ce->simple);
extract_info (ce);
+ e_card_simple_sync_card (ce->simple);
if (ce->is_new_card)
gtk_signal_emit (GTK_OBJECT (ce), contact_editor_signals[ADD_CARD],
@@ -564,6 +564,10 @@ file_save_as_cb (GtkWidget *widget, gpointer data)
ECard *card;
ce = E_CONTACT_EDITOR (data);
+
+ extract_info (ce);
+ e_card_simple_sync_card (ce->simple);
+
card = ce->card;
e_contact_save_as("Save as VCard", card);
}