From baff4f554b137efbeaead770cb8e5ad2af7fe079 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 23 Aug 2013 14:02:58 -0400 Subject: [PATCH] MGR: Align the sync with account manager functionality with the attach to account manager functionality with regards to account manager name location. Currently to print random stack stuff on the completion page. --- clientgui/CompletionPage.cpp | 2 +- clientgui/WizardAttach.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/clientgui/CompletionPage.cpp b/clientgui/CompletionPage.cpp index 18387c3869..354a6a5c2b 100644 --- a/clientgui/CompletionPage.cpp +++ b/clientgui/CompletionPage.cpp @@ -230,7 +230,7 @@ void CCompletionPage::OnPageChanged( wxWizardExEvent& event ) { if (pSkinAdvanced->IsBranded()) { strTitle.Printf( _("Update from %s completed."), - pWAP->project_config.name.c_str() + pWAP->m_strProjectName.c_str() ); } else { strTitle = _("Update completed."); diff --git a/clientgui/WizardAttach.cpp b/clientgui/WizardAttach.cpp index ccdfef2ebf..191168da3e 100644 --- a/clientgui/WizardAttach.cpp +++ b/clientgui/WizardAttach.cpp @@ -402,6 +402,7 @@ bool CWizardAttach::SyncToAccountManager() { pDoc->rpc.acct_mgr_info(ami); if (ami.acct_mgr_url.size()) { + m_strProjectName = wxString(ami.acct_mgr_name.c_str(), wxConvUTF8); m_AccountManagerInfoPage->SetProjectURL( wxString(ami.acct_mgr_url.c_str(), wxConvUTF8) );