- MGR: Hitting the back button on the ProjectInfo page in the wizard when

you have highlighted a project you are already attached too, should
        not cause the 'you are already attached to project' dialog to be
        displayed.  This also appears to have fixed the random page being
        displayed when the dialog has been dismissed.
        
    clientgui/
        ProjectInfoPage.cpp

svn path=/trunk/boinc/; revision=19736
This commit is contained in:
Rom Walton 2009-11-30 19:58:54 +00:00
parent 32daf9dedf
commit 6c10718300
2 changed files with 16 additions and 1 deletions

View File

@ -9577,3 +9577,13 @@ Rom 30 Nov 2009
client/ client/
boinc_log.cpp boinc_log.cpp
Rom 30 Nov 2009
- MGR: Hitting the back button on the ProjectInfo page in the wizard when
you have highlighted a project you are already attached too, should
not cause the 'you are already attached to project' dialog to be
displayed. This also appears to have fixed the random page being
displayed when the dialog has been dismissed.
clientgui/
ProjectInfoPage.cpp

View File

@ -366,6 +366,9 @@ void CProjectInfoPage::OnPageChanged( wxWizardExEvent& event ) {
*/ */
void CProjectInfoPage::OnPageChanging( wxWizardExEvent& event ) { void CProjectInfoPage::OnPageChanging( wxWizardExEvent& event ) {
if (event.GetDirection() == false) return;
wxLogTrace(wxT("Function Start/End"), wxT("CProjectInfoPage::OnPageChanging - Function Begin"));
CMainDocument* pDoc = wxGetApp().GetDocument(); CMainDocument* pDoc = wxGetApp().GetDocument();
CSkinAdvanced* pSkinAdvanced = wxGetApp().GetSkinManager()->GetAdvanced(); CSkinAdvanced* pSkinAdvanced = wxGetApp().GetSkinManager()->GetAdvanced();
wxString strTitle; wxString strTitle;
@ -423,6 +426,8 @@ void CProjectInfoPage::OnPageChanging( wxWizardExEvent& event ) {
} }
} }
} }
wxLogTrace(wxT("Function Start/End"), wxT("CProjectInfoPage::OnPageChanging - Function End"));
} }