X-Git-Url: http://Server1/repobrowser/?p=xestiacalendar%2F.git;a=blobdiff_plain;f=source%2Fforms%2Fpreferences%2FfrmPreferences.cpp;h=f35fac16fc67c0439b074c52f6bfffd68a8bc05d;hp=b7c629b3a710b2425da45ee63e7641ea5a5cd502;hb=0c16b6458c0fdc03b94288c17d7a685b95f122fc;hpb=66ebed13414439cd56161faa2abcff7744ab4588 diff --git a/source/forms/preferences/frmPreferences.cpp b/source/forms/preferences/frmPreferences.cpp index b7c629b..f35fac1 100644 --- a/source/forms/preferences/frmPreferences.cpp +++ b/source/forms/preferences/frmPreferences.cpp @@ -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;