From: Steve Brokenshire Date: Mon, 28 Dec 2015 02:13:46 +0000 (+0000) Subject: Replaced code for PREF in RELATED with ProcessIntegerValue. X-Git-Tag: release-0.09~195 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=1d102a7479f32a7068a0b873c3bf226d65371625;p=xestiaab%2F.git Replaced code for PREF in RELATED with ProcessIntegerValue. --- diff --git a/source/contacteditor/ContactDataObject.cpp b/source/contacteditor/ContactDataObject.cpp index 238484a..0c09b88 100644 --- a/source/contacteditor/ContactDataObject.cpp +++ b/source/contacteditor/ContactDataObject.cpp @@ -3107,9 +3107,8 @@ void ContactDataObject::ProcessRelated(wxString PropertySeg1, wxString PropertyS } } else if (PropertyName == wxT("LANGUAGE")){ - - GeneralRelatedListLanguage.erase(*RelatedCount); - GeneralRelatedListLanguage.insert(std::make_pair(*RelatedCount, PropertyValue)); + + ProcessIntegerValue(this, &GeneralRelatedListPref, &PropertyValue, RelatedCount); } else if (PropertyName != wxT("TYPE")) {