From: Steve Brokenshire Date: Sat, 9 Sep 2017 08:23:52 +0000 (+0100) Subject: frmMain: Be able to add a contact from the right-click contact list menu if account... X-Git-Tag: release-0.20~3 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=566326947293846cfccd3521dd09e3b3620a1109 frmMain: Be able to add a contact from the right-click contact list menu if account type is local. --- diff --git a/source/frmMain.cpp b/source/frmMain.cpp index aeffdba..8b2624b 100644 --- a/source/frmMain.cpp +++ b/source/frmMain.cpp @@ -3179,7 +3179,10 @@ void frmMain::ShowContactMenu( wxMouseEvent& event ){ bool EnableRefresh = FALSE; - if (!ActiveAccount.IsEmpty() && (ActiveAccountType == "CardDAV" || ActiveAccountType == "carddav")){ + if (!ActiveAccount.IsEmpty() && (ActiveAccountType == "CardDAV" || + ActiveAccountType == "carddav" || + ActiveAccountType == "Local" || + ActiveAccountType == "local")){ EnableRefresh = TRUE; @@ -3224,4 +3227,4 @@ bool frmMain::CloseAllWindows() { return false; } -} \ No newline at end of file +}