From baf51fa685aab4aadd99a947ac72dd50851eec89 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Mon, 26 Sep 2016 01:17:40 +0300 Subject: [PATCH] Fix issue #1510: MGR: Ensure start page is in page stack when launching in auto-attach mode --- clientgui/WizardAttach.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clientgui/WizardAttach.cpp b/clientgui/WizardAttach.cpp index 927ae7b137..4fb999fa10 100644 --- a/clientgui/WizardAttach.cpp +++ b/clientgui/WizardAttach.cpp @@ -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);