Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added conversion to integer when getting account names for the Preferences form.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 3 Aug 2015 20:33:14 +0000 (21:33 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 3 Aug 2015 20:33:14 +0000 (21:33 +0100)
source/frmPreferences.cpp

index 0244d49..8c3149e 100644 (file)
@@ -102,7 +102,7 @@ void frmPreferences::ModifyABAccount( wxCommandEvent& event )
                                wxLIST_NEXT_ALL,
                                wxLIST_STATE_SELECTED);
     
-    AccName = preferences->accounts.GetAccountName(lstAccountsIndex);
+    AccName = preferences->accounts.GetAccountName((int)lstAccountsIndex);
     
     frmEditAccount *frameEditAccount = new frmEditAccount ( this );
     frameEditAccount->LoadPointers(cfgfile);
@@ -150,7 +150,7 @@ void frmPreferences::DeleteABAccount( wxCommandEvent& event )
     
        wxFileConfig *cfgfile = new wxFileConfig("", "", AccFilename);
        
-       AccName = preferences->accounts.GetAccountName(lstAccountsIndex);
+       AccName = preferences->accounts.GetAccountName((int)lstAccountsIndex);
        
        // Get the account directory name and account type..
        
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