mirror of https://github.com/BOINC/boinc.git
MGR: Prevent the 'back' button from being enabled on the project and account manager info pages.
This commit is contained in:
parent
d4e737c8e8
commit
d3d57cae99
|
@ -432,7 +432,15 @@ bool CWizardAttach::HasNextPage( wxWizardPageEx* page )
|
|||
|
||||
bool CWizardAttach::HasPrevPage( wxWizardPageEx* page )
|
||||
{
|
||||
if ((page == m_ProjectWelcomePage) || (page == m_CompletionPage) || (page == m_CompletionErrorPage))
|
||||
bool bNoPrevPageDetected = false;
|
||||
|
||||
bNoPrevPageDetected |= (page == m_ProjectWelcomePage);
|
||||
bNoPrevPageDetected |= (page == m_ProjectInfoPage);
|
||||
bNoPrevPageDetected |= (page == m_AccountManagerInfoPage);
|
||||
bNoPrevPageDetected |= (page == m_CompletionPage);
|
||||
bNoPrevPageDetected |= (page == m_CompletionErrorPage);
|
||||
|
||||
if (bNoPrevPageDetected)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue