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
/
frmContactEditorCalAdr.cpp
diff --git
a/source/contacteditor/frmContactEditorCalAdr.cpp
b/source/contacteditor/frmContactEditorCalAdr.cpp
index
f690811
..
29da66e
100644
(file)
--- a/
source/contacteditor/frmContactEditorCalAdr.cpp
+++ b/
source/contacteditor/frmContactEditorCalAdr.cpp
@@
-213,7
+213,8
@@
void frmContactEditorCalAdr::SetEditorMode(bool EditMode)
striter = CalAdrListTypePtr->find(CalAdrListIndex);
striter = CalAdrListTypePtr->find(CalAdrListIndex);
- if (striter->first == CalAdrListIndex){
+ if (striter->first == CalAdrListIndex &&
+ striter != CalAdrListTypePtr->end()){
strValue = striter->second;
strValue = striter->second;
@@
-237,7
+238,8
@@
void frmContactEditorCalAdr::SetEditorMode(bool EditMode)
intiter = CalAdrListPrefPtr->find(CalAdrListIndex);
intiter = CalAdrListPrefPtr->find(CalAdrListIndex);
- if (intiter->first == CalAdrListIndex && intiter->second > 0){
+ if (intiter->first == CalAdrListIndex && intiter->second > 0 &&
+ intiter != CalAdrListPrefPtr->end()){
sliPriority->SetValue(intiter->second);
sliPriority->Enable();
sliPriority->SetValue(intiter->second);
sliPriority->Enable();
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy