Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Implemented TITLE for ContactDataObject.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 30 Dec 2015 00:27:57 +0000 (00:27 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 30 Dec 2015 00:27:57 +0000 (00:27 +0000)
source/contacteditor/frmContactEditor-Load.cpp

index 14b20bd..7e35538 100644 (file)
@@ -237,7 +237,7 @@ bool frmContactEditor::LoadContact(wxString Filename){
                lboBusinessLanguages,
                &LangCount);
                
-       // Process the geoposition (GEO).
+       // Process the geopositiosn (GEO).
        
        LoadData(&ContactEditorData.GeneralGeographyList,
                &ContactEditorData.GeneralGeographyListPref,
@@ -250,7 +250,7 @@ bool frmContactEditor::LoadContact(wxString Filename){
                lboBusinessGeoposition,
                &GeoCount);
                
-       // Process the website (URL).
+       // Process the websites (URL).
        
        LoadData(&ContactEditorData.GeneralWebsiteList,
                &ContactEditorData.GeneralWebsiteListPref,
@@ -263,6 +263,19 @@ bool frmContactEditor::LoadContact(wxString Filename){
                lboBusinessWebsites,
                &URLCount);
 
+       // Process the titles (TITLE).
+       
+       LoadData(&ContactEditorData.GeneralTitleList,
+               &ContactEditorData.GeneralTitleListPref,
+               lboTitles,
+               &ContactEditorData.HomeTitleList,
+               &ContactEditorData.HomeTitleListPref,
+               lboHomeTitles,
+               &ContactEditorData.BusinessTitleList,
+               &ContactEditorData.BusinessTitleListPref,
+               lboBusinessTitles,
+               &TitleCount);
+
        for (std::map<int,wxString>::iterator iter = ContactFileLines.begin(); 
         iter != ContactFileLines.end(); ++iter){
        
@@ -466,13 +479,13 @@ bool frmContactEditor::LoadContact(wxString Filename){
                
                        LoadURL(wxSPropertySeg1, wxSPropertySeg2, &URLCount);
                
-               }*/ else if (wxSProperty == wxT("TITLE")) {
+               } else if (wxSProperty == wxT("TITLE")) {
                
                        // See frmContactEditor-LoadTitle.cpp
                        
                        LoadTitle(wxSPropertySeg1, wxSPropertySeg2, &TitleCount);
                        
-               } else if (wxSProperty == wxT("ROLE")) {
+               }*/ else if (wxSProperty == wxT("ROLE")) {
 
                        // See frmContactEditor-LoadRole.cpp
                
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy