X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2FfrmMain.cpp;h=03f8cd97f2b67d80a4f972393828efe74e472f24;hb=7144da5e7c93db0df978e028fe79c41b7445cd10;hp=aeffdbaa0f2843b96464cea0d59fb7442022da7d;hpb=540e667a9fdae2213756c164185e4d7f78f33e2b;p=xestiaab%2F.git diff --git a/source/frmMain.cpp b/source/frmMain.cpp index aeffdba..03f8cd9 100644 --- a/source/frmMain.cpp +++ b/source/frmMain.cpp @@ -1456,7 +1456,11 @@ void frmMain::LoadPreferences(){ ContactBackgroundColour = preferences.GetBackgroundContactColourData(); - } + } else { + + ContactBackgroundColour = wxTransparentColour; + + } treAccounts->DeleteAllItems(); @@ -3179,7 +3183,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 +3231,4 @@ bool frmMain::CloseAllWindows() { return false; } -} \ No newline at end of file +}