mirror of https://github.com/BOINC/boinc.git
MGR: When a volunteer manually inputs an Account Manager URL, do not overwrite it with what was previously selected.
This commit is contained in:
parent
a970cbcc1a
commit
851d5b6921
|
@ -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());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Reference in New Issue