[Manager] Fix 'Next' button on previous pages after failed login

If while using Wizard try to login to the project with wrong credentials
'Next' button is disabled forever.
This is fixed by enaling 'Next' button on AccountInfoPageby default.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2018-05-29 00:52:21 +03:00
parent 3ba7724d69
commit 33f0c64a23
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
// This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
// Copyright (C) 2018 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
@ -292,6 +292,7 @@ void CAccountInfoPage::OnPageChanged( wxWizardExEvent& /* event */ ) {
wxASSERT(wxDynamicCast(pSkinAdvanced, CSkinAdvanced));
wxASSERT(wxDynamicCast(pSkinWizardATAM, CSkinWizardATAM));
pWA->EnableNextButton();
// We are entering this page, so reterieve the previously used email
// address and/or username.