From 4fad7a8d8cb7974593d0c97695654b45a3ded69b Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Thu, 7 Dec 2017 21:57:14 +0000 Subject: [PATCH] frmPreferences: Clarified suffix as .CalDAV not .caldav --- source/forms/preferences/frmPreferences.cpp | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/source/forms/preferences/frmPreferences.cpp b/source/forms/preferences/frmPreferences.cpp index a49ed41..c1cd4fd 100644 --- a/source/forms/preferences/frmPreferences.cpp +++ b/source/forms/preferences/frmPreferences.cpp @@ -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); -- 2.39.5