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
/
frmContactEditorNotes.cpp
diff --git
a/source/contacteditor/frmContactEditorNotes.cpp
b/source/contacteditor/frmContactEditorNotes.cpp
index
0dbfb78
..
e07687a
100644
(file)
--- a/
source/contacteditor/frmContactEditorNotes.cpp
+++ b/
source/contacteditor/frmContactEditorNotes.cpp
@@
-220,7
+220,8
@@
void frmContactEditorNotes::SetEditorMode(bool EditMode, SectionType SectType)
striter = NotesListLangPtr->find(NotesListIndex);
striter = NotesListLangPtr->find(NotesListIndex);
- if (striter->first == NotesListIndex){
+ if (striter->first == NotesListIndex &&
+ striter != NotesListLangPtr->end()){
strValue = striter->second;
strValue = striter->second;
@@
-232,7
+233,8
@@
void frmContactEditorNotes::SetEditorMode(bool EditMode, SectionType SectType)
intiter = NotesListPrefPtr->find(NotesListIndex);
intiter = NotesListPrefPtr->find(NotesListIndex);
- if (intiter->first == NotesListIndex && intiter->second > 0){
+ if (intiter->first == NotesListIndex && intiter->second > 0 &&
+ intiter != NotesListPrefPtr->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