Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Fixed potential crash with frmContactEditorWebsites in Edit mode.
[xestiaab/.git] / source / contacteditor / frmContactEditorWebsites.cpp
index d752438..d46744a 100644 (file)
@@ -189,7 +189,8 @@ void frmContactEditorWebsites::SetEditorMode(bool EditMode, SectionType SectType
                
                intiter = WebsiteListPrefPtr->find(WebsiteListIndex);
                
-               if (intiter->first == WebsiteListIndex && intiter->second > 0){
+               if (intiter->first == WebsiteListIndex && intiter->second > 0 &&
+                       intiter != WebsiteListPrefPtr->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