summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index 5c1391b..12d7421 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -1619,5 +1619,5 @@ void ContactEditor::saveEntry() {
parseEmailFrom( *itV, defaultmail, allemail );
- ent.clearEmails();
+ // ent.clearEmails();
ent.setDefaultEmail( defaultmail );
- ent.insertEmails( *itV );
+ ent.setEmails( allemail );
}