-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index fd7f009..5c1391b 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp @@ -1416,9 +1416,9 @@ void ContactEditor::setEntry( const OContact &entry ) { if ( *it == tr("Default Email" )) *itV = ent.defaultEmail(); if ( *it == tr("Emails" )) - *itV = ent.emailList().join(";"); + *itV = ent.emailList().join(","); // :SX if ( *it == tr("Home Phone" )) *itV = ent.homePhone(); /* @@ -1616,8 +1616,9 @@ void ContactEditor::saveEntry() { if ( *it == tr("Emails" )) { QString allemail; QString defaultmail; parseEmailFrom( *itV, defaultmail, allemail ); + ent.clearEmails(); ent.setDefaultEmail( defaultmail ); ent.insertEmails( *itV ); } |