Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added comments to describe functions in frmContactEditorTelephone
[xestiaab/.git] / source / contacteditor / frmContactEditorGeoposition.cpp
index d16f8a0..e429db7 100644 (file)
@@ -76,7 +76,8 @@ void frmContactEditorGeoposition::SetEditorMode(bool EditMode, SectionType SectT
                
                intiter = GeopositionListPrefPtr->find(GeopositionListIndex);
                
-               if (intiter->first == GeopositionListIndex && intiter->second > 0){
+               if (intiter->first == GeopositionListIndex && intiter->second > 0 &&
+                       intiter != GeopositionListPrefPtr->end()){
                
                        sliPriority->SetValue(intiter->second);
                        sliPriority->Enable();
@@ -210,6 +211,7 @@ void frmContactEditorGeoposition::SetupPointers(std::map<int, wxString> *Geoposi
        std::map<int, wxString> *GeopositionListAltID,
        std::map<int, wxString> *GeopositionListPID,
        std::map<int, wxString> *GeopositionListType,
+       std::map<int, wxString> *GeopositionListDataType,
        std::map<int, wxString> *GeopositionListTokens,
        std::map<int, wxString> *GeopositionListMediatype,      
        std::map<int, int> *GeopositionListPref,
@@ -224,6 +226,7 @@ void frmContactEditorGeoposition::SetupPointers(std::map<int, wxString> *Geoposi
        GeopositionListAltIDPtr = GeopositionListAltID;
        GeopositionListPIDPtr = GeopositionListPID;
        GeopositionListTypePtr = GeopositionListType;
+       GeopositionListDataTypePtr = GeopositionListDataType;
        GeopositionListTokensPtr = GeopositionListTokens;
        GeopositionListPrefPtr = GeopositionListPref;
        GeopositionListCtrlPtr = GeopositionListCtrl;
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