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
When adding & editing an address label, add quote marks at start & end of a label.
[xestiaab/.git]
/
source
/
contacteditor
/
frmContactEditorAddress.cpp
diff --git
a/source/contacteditor/frmContactEditorAddress.cpp
b/source/contacteditor/frmContactEditorAddress.cpp
index
abd1d1f
..
f746895
100644
(file)
--- a/
source/contacteditor/frmContactEditorAddress.cpp
+++ b/
source/contacteditor/frmContactEditorAddress.cpp
@@
-72,7
+72,10
@@
void frmContactEditorAddress::ProcessData( wxCommandEvent& event )
// Add the label to the list (maps).
// Add the label to the list (maps).
- AddressListLabelPtr->insert(std::make_pair(AddressListIndex, txtLabel->GetValue()));
+ wxString LabelData = txtLabel->GetValue();
+ LabelData.Prepend("\"");
+ LabelData.Append("\"");
+ AddressListLabelPtr->insert(std::make_pair(AddressListIndex, LabelData));
// Add the language to the list (maps).
// Add the language to the list (maps).
@@
-193,7
+196,11
@@
void frmContactEditorAddress::ProcessData( wxCommandEvent& event )
// Add the label to the list (maps).
AddressListLabelPtr->erase(AddressListIndex);
// Add the label to the list (maps).
AddressListLabelPtr->erase(AddressListIndex);
- AddressListLabelPtr->insert(std::make_pair(AddressListIndex, txtLabel->GetValue()));
+
+ wxString LabelData = txtLabel->GetValue();
+ LabelData.Prepend("\"");
+ LabelData.Append("\"");
+ AddressListLabelPtr->insert(std::make_pair(AddressListIndex, LabelData));
// Add the language to the list (maps).
// Add the language to the list (maps).
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy