From 851d5b6921cc15cef86912c6959eac73fd9e7e39 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 2 Sep 2015 15:14:47 -0400 Subject: [PATCH] MGR: When a volunteer manually inputs an Account Manager URL, do not overwrite it with what was previously selected. --- clientgui/AccountManagerInfoPage.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/clientgui/AccountManagerInfoPage.cpp b/clientgui/AccountManagerInfoPage.cpp index 1f4bddc973..3c29436a57 100644 --- a/clientgui/AccountManagerInfoPage.cpp +++ b/clientgui/AccountManagerInfoPage.cpp @@ -343,8 +343,13 @@ void CAccountManagerInfoPage::OnPageChanging( wxWizardExEvent& event ) { CAcctMgrListItem* pItem = (CAcctMgrListItem*)(m_pProjectListCtrl->GetClientData(m_pProjectListCtrl->GetSelection())); // Update authoritative data in CWizardAttach - pWA->SetProjectURL(pItem->GetURL()); - pWA->SetProjectName(pItem->GetName()); + if (m_pProjectUrlCtrl->GetValue() == pItem->GetURL()) { + pWA->SetProjectURL(pItem->GetURL()); + pWA->SetProjectName(pItem->GetName()); + } else { + pWA->SetProjectURL(m_pProjectUrlCtrl->GetValue()); + pWA->SetProjectName(m_pProjectUrlCtrl->GetValue()); + } } /*!