Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Unit Tests: Updated copyright year on modified files
[xestiaab/.git] / source / frmMain.cpp
index aeffdba..03f8cd9 100644 (file)
@@ -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
+}
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