From: Steve Brokenshire Date: Sun, 27 Sep 2015 07:28:59 +0000 (+0100) Subject: Removed extra slash within the account filename to make revealing contact whilst... X-Git-Tag: release-0.05~57 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=da98f1ad6ed83618c96826a1098f51fbcf0daea3;p=xestiaab%2F.git Removed extra slash within the account filename to make revealing contact whilst searching work again. --- diff --git a/source/frmMain.cpp b/source/frmMain.cpp index d49a44d..d885b06 100644 --- a/source/frmMain.cpp +++ b/source/frmMain.cpp @@ -760,7 +760,6 @@ void frmMain::LoadContactList( wxTreeEvent& event ) vCard Person; vCardFilenameFull.Append(AccountDirFinal); - vCardFilenameFull.Append(wxT("/")); 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){ - + // Select. lstContacts->SetItemState(longSelected, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED); lstContacts->EnsureVisible(longSelected); - break; - - } + } else { + + lstContacts->SetItemState(longSelected, 0, wxLIST_STATE_SELECTED); + + } }