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.

This commit is contained in:
Rom Walton 2013-08-23 14:02:58 -04:00
parent 95d12b76e7
commit baff4f554b
2 changed files with 2 additions and 1 deletions

View File

@ -230,7 +230,7 @@ void CCompletionPage::OnPageChanged( wxWizardExEvent& event ) {
if (pSkinAdvanced->IsBranded()) { if (pSkinAdvanced->IsBranded()) {
strTitle.Printf( strTitle.Printf(
_("Update from %s completed."), _("Update from %s completed."),
pWAP->project_config.name.c_str() pWAP->m_strProjectName.c_str()
); );
} else { } else {
strTitle = _("Update completed."); strTitle = _("Update completed.");

View File

@ -402,6 +402,7 @@ bool CWizardAttach::SyncToAccountManager() {
pDoc->rpc.acct_mgr_info(ami); pDoc->rpc.acct_mgr_info(ami);
if (ami.acct_mgr_url.size()) { if (ami.acct_mgr_url.size()) {
m_strProjectName = wxString(ami.acct_mgr_name.c_str(), wxConvUTF8);
m_AccountManagerInfoPage->SetProjectURL( m_AccountManagerInfoPage->SetProjectURL(
wxString(ami.acct_mgr_url.c_str(), wxConvUTF8) wxString(ami.acct_mgr_url.c_str(), wxConvUTF8)
); );