From: Steve Brokenshire Date: Sun, 10 Jan 2016 23:27:30 +0000 (+0000) Subject: Added check for timezone for frmContactEditorAddress X-Git-Tag: release-0.09~57 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=24f5ba570ec48d8a9e87e57b1011c88c3f5496df Added check for timezone for frmContactEditorAddress --- diff --git a/source/contacteditor/frmContactEditorAddress.cpp b/source/contacteditor/frmContactEditorAddress.cpp index bc1b44c..921ce48 100644 --- a/source/contacteditor/frmContactEditorAddress.cpp +++ b/source/contacteditor/frmContactEditorAddress.cpp @@ -481,7 +481,7 @@ void frmContactEditorAddress::SetEditorMode( bool EditMode, SectionType SectType striter = AddressListTimezonePtr->find(AddressListIndex); - if (striter->first == AddressListIndex){ + if (striter->first == AddressListIndex && striter != AddressListTimezonePtr->end()){ strValue = striter->second;