Fix issue #1510: MGR: Ensure start page is in page stack when launching in auto-attach mode

This commit is contained in:
Vitalii Koshura 2016-09-26 01:17:40 +03:00
parent cfb30e9fb6
commit baf51fa685
1 changed files with 2 additions and 2 deletions

View File

@ -595,8 +595,8 @@ void CWizardAttach::_ProcessCancelEvent( wxWizardExEvent& event ) {
);
// Reenable the next and back buttons if they have been disabled
GetNextButton()->Enable();
GetBackButton()->Enable();
GetNextButton()->Enable(HasNextPage(page));
GetBackButton()->Enable(HasPrevPage(page));
// Generic rules
bCancelWithoutNextPage |= (page == m_ErrNotDetectedPage);