X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditorWebsites.cpp;h=d46744a9f25c722db54b54675457df6edab62616;hb=b642c1677d8875a30fead84262513131658a488c;hp=d75243829b7b69c585c875c5d235073974cf4fee;hpb=3b1da98385debe24001f0432f8d6f674f2710c31;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditorWebsites.cpp b/source/contacteditor/frmContactEditorWebsites.cpp index d752438..d46744a 100644 --- a/source/contacteditor/frmContactEditorWebsites.cpp +++ b/source/contacteditor/frmContactEditorWebsites.cpp @@ -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();