Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
frmPreferences: Clarified suffix as .CalDAV not .caldav
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Thu, 7 Dec 2017 21:57:14 +0000 (21:57 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Thu, 7 Dec 2017 21:57:14 +0000 (21:57 +0000)
source/forms/preferences/frmPreferences.cpp

index a49ed41..c1cd4fd 100644 (file)
@@ -313,21 +313,15 @@ void frmPreferences::DeleteAccount( wxCommandEvent& event )
                accountDirFull.Append(accountDir);
                accountDirFull.Append(wxT("."));
        
-               /*if (AccountType == wxT("CalDAV")){
+               if (accountType == wxT("CalDAV")){
        
-                       AccountDirFull.Append(wxT("local"));
+                       accountDirFull.Append(wxT("CalDAV"));
        
-               } else */
-               
-               if (accountType == wxT("Local")){
+               } else if (accountType == wxT("Local")){
        
                        accountDirFull.Append(wxT("Local"));
        
-               }/*else {
-                       
-                       AccountDirFull.Append(AccountType.Lower());
-                       
-               }*/
+               }
        
                lstAccounts->DeleteItem(lstAccountsIndex);
        
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