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