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
Resized the frmEditAccount so all controls appears.
[xestiaab/.git]
/
source
/
contacteditor
/
frmContactEditorPicture.cpp
diff --git
a/source/contacteditor/frmContactEditorPicture.cpp
b/source/contacteditor/frmContactEditorPicture.cpp
index
9a72372
..
d6ffcc3
100644
(file)
--- a/
source/contacteditor/frmContactEditorPicture.cpp
+++ b/
source/contacteditor/frmContactEditorPicture.cpp
@@
-267,8
+267,7
@@
void frmContactEditorPicture::ProcessData( wxCommandEvent& event )
return;
}
return;
}
- if (PictureLogo == TRUE){
-
+ if (PictureLogo == TRUE){
PictureListCtrlPtr->SetItem(longSelected, 0, _("Picture"));
} else {
PictureListCtrlPtr->SetItem(longSelected, 0, _("Picture"));
} else {
@@
-326,7
+325,8
@@
void frmContactEditorPicture::SetEditorMode(bool EditMode)
striter = PictureListTypePtr->find(PictureListIndex);
striter = PictureListTypePtr->find(PictureListIndex);
- if (striter->first == PictureListIndex){
+ if (striter->first == PictureListIndex &&
+ striter != PictureListTypePtr->end()){
strValue = striter->second;
strValue = striter->second;
@@
-352,7
+352,8
@@
void frmContactEditorPicture::SetEditorMode(bool EditMode)
intiter = PictureListPrefPtr->find(PictureListIndex);
intiter = PictureListPrefPtr->find(PictureListIndex);
- if (intiter->first == PictureListIndex && intiter->second > 0){
+ if (intiter->first == PictureListIndex && intiter->second > 0 &&
+ intiter != PictureListPrefPtr->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