Commit 79f8f75e authored by Tobias Koenig's avatar Tobias Koenig
Browse files

Import the note property of a contact correctly from CSV file.

BUG: 206191

svn path=/trunk/KDE/kdepim/kaddressbook/; revision=1019802
parent ecb68744
......@@ -173,7 +173,7 @@ void ContactFields::setValue( Field field, const QString &value, KABC::Addressee
contact.setOrganization( value );
break;
case ContactFields::Note:
contact.setNote( contact.note() );
contact.setNote( value );
break;
case ContactFields::HomePhone:
{
......
......@@ -235,6 +235,8 @@ KABC::AddresseeList CSVImportDialog::contacts() const
if ( field == ContactFields::Birthday )
value = dateParser.parse( value ).toString( Qt::ISODate );
value.replace( "\\n", "\n" );
ContactFields::setValue( field, value, contact );
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment