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 XML conversion to ConvertToV3.
[xestiaab/.git]
/
source
/
contacteditor
/
frmContactEditorAddress.cpp
diff --git
a/source/contacteditor/frmContactEditorAddress.cpp
b/source/contacteditor/frmContactEditorAddress.cpp
index
f746895
..
921ce48
100644
(file)
--- a/
source/contacteditor/frmContactEditorAddress.cpp
+++ b/
source/contacteditor/frmContactEditorAddress.cpp
@@
-433,7
+433,7
@@
void frmContactEditorAddress::SetEditorMode( bool EditMode, SectionType SectType
intiter = AddressListPrefPtr->find(AddressListIndex);
intiter = AddressListPrefPtr->find(AddressListIndex);
- if (intiter->first == AddressListIndex && intiter->second > 0){
+ if (intiter->first == AddressListIndex && intiter->second > 0
&& intiter != AddressListPrefPtr->end()
){
sliPriority->SetValue(intiter->second);
sliPriority->Enable();
sliPriority->SetValue(intiter->second);
sliPriority->Enable();
@@
-445,9
+445,13
@@
void frmContactEditorAddress::SetEditorMode( bool EditMode, SectionType SectType
striter = AddressListLabelPtr->find(AddressListIndex);
striter = AddressListLabelPtr->find(AddressListIndex);
- if (striter->first == AddressListIndex){
+ if (striter->first == AddressListIndex
&& striter != AddressListLabelPtr->end()
){
strValue = striter->second;
strValue = striter->second;
+ if (strValue.Left(1) == "\"" && strValue.Right(1) == "\""){
+ strValue.erase(0, 1);
+ strValue.RemoveLast();
+ }
}
}
@@
-457,17
+461,17
@@
void frmContactEditorAddress::SetEditorMode( bool EditMode, SectionType SectType
striter = AddressListLangPtr->find(AddressListIndex);
striter = AddressListLangPtr->find(AddressListIndex);
- if (striter->first == AddressListIndex){
+ if (striter->first == AddressListIndex
&& striter != AddressListLangPtr->end()
){
strValue = striter->second;
strValue = striter->second;
-
+
}
cmbLanguage->SetValue(strValue);
striter = AddressListGeoPtr->find(AddressListIndex);
}
cmbLanguage->SetValue(strValue);
striter = AddressListGeoPtr->find(AddressListIndex);
- if (striter->first == AddressListIndex){
+ if (striter->first == AddressListIndex
&& striter != AddressListGeoPtr->end()
){
strValue = striter->second;
strValue = striter->second;
@@
-477,7
+481,7
@@
void frmContactEditorAddress::SetEditorMode( bool EditMode, SectionType SectType
striter = AddressListTimezonePtr->find(AddressListIndex);
striter = AddressListTimezonePtr->find(AddressListIndex);
- if (striter->first == AddressListIndex){
+ if (striter->first == AddressListIndex
&& striter != AddressListTimezonePtr->end()
){
strValue = striter->second;
strValue = striter->second;
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy