Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added comment to describe Connect in carddav/carddav-connect.cpp
[xestiaab/.git]
/
source
/
contacteditor
/
frmContactEditorVendor.cpp
diff --git
a/source/contacteditor/frmContactEditorVendor.cpp
b/source/contacteditor/frmContactEditorVendor.cpp
index
4696a9d
..
ce56648
100644
(file)
--- a/
source/contacteditor/frmContactEditorVendor.cpp
+++ b/
source/contacteditor/frmContactEditorVendor.cpp
@@
-67,7
+67,8
@@
void frmContactEditorVendor::SetEditorMode(bool EditMode)
striter = VendorListElementPtr->find(VendorListIndex);
striter = VendorListElementPtr->find(VendorListIndex);
- if (striter->first == VendorListIndex){
+ if (striter->first == VendorListIndex &&
+ striter != VendorListElementPtr->end()){
strValue = striter->second;
strValue = striter->second;
@@
-81,7
+82,8
@@
void frmContactEditorVendor::SetEditorMode(bool EditMode)
striter = VendorListPtr->find(VendorListIndex);
striter = VendorListPtr->find(VendorListIndex);
- if (striter->first == VendorListIndex){
+ if (striter->first == VendorListIndex &&
+ striter != VendorListPtr->end()){
strValue = striter->second;
strValue = striter->second;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy