MGR: When a volunteer manually inputs an Account Manager URL, do not overwrite it with what was previously selected.

This commit is contained in:
Rom Walton 2015-09-02 15:14:47 -04:00
parent a970cbcc1a
commit 851d5b6921
1 changed files with 7 additions and 2 deletions

View File

@ -343,8 +343,13 @@ void CAccountManagerInfoPage::OnPageChanging( wxWizardExEvent& event ) {
CAcctMgrListItem* pItem = (CAcctMgrListItem*)(m_pProjectListCtrl->GetClientData(m_pProjectListCtrl->GetSelection())); CAcctMgrListItem* pItem = (CAcctMgrListItem*)(m_pProjectListCtrl->GetClientData(m_pProjectListCtrl->GetSelection()));
// Update authoritative data in CWizardAttach // Update authoritative data in CWizardAttach
pWA->SetProjectURL(pItem->GetURL()); if (m_pProjectUrlCtrl->GetValue() == pItem->GetURL()) {
pWA->SetProjectName(pItem->GetName()); pWA->SetProjectURL(pItem->GetURL());
pWA->SetProjectName(pItem->GetName());
} else {
pWA->SetProjectURL(m_pProjectUrlCtrl->GetValue());
pWA->SetProjectName(m_pProjectUrlCtrl->GetValue());
}
} }
/*! /*!