Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ee1795
)
Removed extra slash within the account filename to make revealing contact whilst...
author
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Sun, 27 Sep 2015 07:28:59 +0000
(08:28 +0100)
committer
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Sun, 27 Sep 2015 07:28:59 +0000
(08:28 +0100)
source/frmMain.cpp
patch
|
blob
|
history
diff --git
a/source/frmMain.cpp
b/source/frmMain.cpp
index
d49a44d
..
d885b06
100644
(file)
--- a/
source/frmMain.cpp
+++ b/
source/frmMain.cpp
@@
-760,7
+760,6
@@
void frmMain::LoadContactList( wxTreeEvent& event )
vCard Person;
vCardFilenameFull.Append(AccountDirFinal);
vCard Person;
vCardFilenameFull.Append(AccountDirFinal);
- vCardFilenameFull.Append(wxT("/"));
vCardFilenameFull.Append(vCardFilename);
Person.LoadFile(vCardFilenameFull);
vCardFilenameFull.Append(vCardFilename);
Person.LoadFile(vCardFilenameFull);
@@
-1884,15
+1883,17
@@
void frmMain::RevealContact(wxCommandEvent& event){
// If they match then select it.
if (ContactsFileIndex[intSelectedData] == uc->ContactFilename){
// If they match then select it.
if (ContactsFileIndex[intSelectedData] == uc->ContactFilename){
-
+
// Select.
lstContacts->SetItemState(longSelected, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
lstContacts->EnsureVisible(longSelected);
// Select.
lstContacts->SetItemState(longSelected, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);
lstContacts->EnsureVisible(longSelected);
- break;
-
- }
+ } else {
+
+ lstContacts->SetItemState(longSelected, 0, wxLIST_STATE_SELECTED);
+
+ }
}
}
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy