Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed extra slash within the account filename to make revealing contact whilst...
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 27 Sep 2015 07:28:59 +0000 (08:28 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 27 Sep 2015 07:28:59 +0000 (08:28 +0100)
source/frmMain.cpp

index d49a44d..d885b06 100644 (file)
@@ -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);
+       
+       }
         
     }
     
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy