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
frmContactEditor: Stop XAB crashing when pressing Modify/Delete
[xestiaab/.git]
/
source
/
contacteditor
/
frmContactEditor.cpp
diff --git
a/source/contacteditor/frmContactEditor.cpp
b/source/contacteditor/frmContactEditor.cpp
index
444b748
..
4856537
100644
(file)
--- a/
source/contacteditor/frmContactEditor.cpp
+++ b/
source/contacteditor/frmContactEditor.cpp
@@
-223,14
+223,14
@@
bool frmContactEditor::GetSelectedItem(wxListCtrl *ListCtrlPtr,
wxLIST_NEXT_ALL,
wxLIST_STATE_SELECTED);
wxLIST_NEXT_ALL,
wxLIST_STATE_SELECTED);
- *intSelectedData = (int)ListCtrlPtr->GetItemData(*longSelected);
-
if (*longSelected == -1){
return FALSE;
if (*longSelected == -1){
return FALSE;
- } else {
- return TRUE;
}
}
+ *intSelectedData = (int)ListCtrlPtr->GetItemData(*longSelected);
+
+ return TRUE;
+
}
void frmContactEditor::DeleteMapDataProcess(int IndexNum, std::map<int, std::string>* MapData){
}
void frmContactEditor::DeleteMapDataProcess(int IndexNum, std::map<int, std::string>* MapData){
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy