From 176111a59d5bd2994665278c45b45771a4a84a1a Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 27 May 2015 19:02:43 -0400 Subject: [PATCH] MGR: When an account manager is selected, populate the account manager name field if it is available. --- clientgui/AccountManagerInfoPage.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clientgui/AccountManagerInfoPage.cpp b/clientgui/AccountManagerInfoPage.cpp index f72f130763..1f4bddc973 100644 --- a/clientgui/AccountManagerInfoPage.cpp +++ b/clientgui/AccountManagerInfoPage.cpp @@ -340,9 +340,11 @@ void CAccountManagerInfoPage::OnPageChanging( wxWizardExEvent& event ) { if (event.GetDirection() == false) return; CWizardAttach* pWA = ((CWizardAttach*)GetParent()); + CAcctMgrListItem* pItem = (CAcctMgrListItem*)(m_pProjectListCtrl->GetClientData(m_pProjectListCtrl->GetSelection())); // Update authoritative data in CWizardAttach - pWA->SetProjectURL(m_pProjectUrlCtrl->GetValue()); + pWA->SetProjectURL(pItem->GetURL()); + pWA->SetProjectName(pItem->GetName()); } /*!