Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
frmPreferences: Make the General tab be the first tab that is shown
[xestiacalendar/.git] / source / forms / preferences / frmPreferences.cpp
index b7c629b..f35fac1 100644 (file)
@@ -41,6 +41,7 @@ frmPreferencesADT( parent )
 
        NbtPreferences->RemovePage(1);
        btnAccountAdd->Show(false);
+    NbtPreferences->ChangeSelection(0);
        
 }
 
@@ -208,8 +209,8 @@ void frmPreferences::ModifyAccount( wxCommandEvent& event )
        
        accType = preferences->accounts.GetAccountType((int)lstAccountsIndex);
        
-       if (accType != "CardDAV" && AccType != "carddav" &&
-               accType != "Local" && AccType != "local"){
+       if (accType != "CardDAV" && accType != "carddav" &&
+               accType != "Local" && accType != "local"){
        
                wxMessageBox(_("Cannot modify the selected account settings as the account type is unsupported."), _("Unsupported account type"), wxICON_ERROR);
                return;
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