From 566326947293846cfccd3521dd09e3b3620a1109 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sat, 9 Sep 2017 09:23:52 +0100 Subject: [PATCH] frmMain: Be able to add a contact from the right-click contact list menu if account type is local. --- source/frmMain.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 +} -- 2.39.5