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
/
frmContactEditorCategory.cpp
diff --git
a/source/contacteditor/frmContactEditorCategory.cpp
b/source/contacteditor/frmContactEditorCategory.cpp
index
eba5dad
..
bf2d4ea
100644
(file)
--- a/
source/contacteditor/frmContactEditorCategory.cpp
+++ b/
source/contacteditor/frmContactEditorCategory.cpp
@@
-213,7
+213,8
@@
void frmContactEditorCategory::SetEditorMode(bool EditMode)
striter = CategoryListTypePtr->find(CategoryListIndex);
striter = CategoryListTypePtr->find(CategoryListIndex);
- if (striter->first == CategoryListIndex){
+ if (striter->first == CategoryListIndex &&
+ striter != CategoryListTypePtr->end()){
strValue = striter->second;
strValue = striter->second;
@@
-237,7
+238,8
@@
void frmContactEditorCategory::SetEditorMode(bool EditMode)
intiter = CategoryListPrefPtr->find(CategoryListIndex);
intiter = CategoryListPrefPtr->find(CategoryListIndex);
- if (intiter->first == CategoryListIndex && intiter->second > 0){
+ if (intiter->first == CategoryListIndex && intiter->second > 0 &&
+ intiter != CategoryListPrefPtr->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