Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added comments to describe functions in frmContactEditorTelephone
[xestiaab/.git] / source / contacteditor / frmContactEditorGeoposition.cpp
index cfd61bf..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();
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