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
/
frmContactEditorTitles.cpp
diff --git
a/source/contacteditor/frmContactEditorTitles.cpp
b/source/contacteditor/frmContactEditorTitles.cpp
index
497c28e
..
4de0d1a
100644
(file)
--- a/
source/contacteditor/frmContactEditorTitles.cpp
+++ b/
source/contacteditor/frmContactEditorTitles.cpp
@@
-175,7
+175,8
@@
void frmContactEditorTitles::SetEditorMode(bool EditMode, SectionType SectType)
striter = TitlesListPtr->find(TitlesListIndex);
striter = TitlesListPtr->find(TitlesListIndex);
- if (striter->first == TitlesListIndex){
+ if (striter->first == TitlesListIndex &&
+ striter != TitlesListPtr->end()){
strValue = striter->second;
strValue = striter->second;
@@
-189,7
+190,8
@@
void frmContactEditorTitles::SetEditorMode(bool EditMode, SectionType SectType)
intiter = TitlesListPrefPtr->find(TitlesListIndex);
intiter = TitlesListPrefPtr->find(TitlesListIndex);
- if (intiter->first == TitlesListIndex && intiter->second > 0){
+ if (intiter->first == TitlesListIndex && intiter->second > 0 &&
+ intiter != TitlesListPrefPtr->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