SvnCheckoutDialog::~SvnCheckoutDialog() { SvnSettingsData ssd = m_plugin->GetSettings(); wxArrayString urls; wxString selection = m_comboBoxRepoURL->GetValue(); urls = ssd.GetUrls(); selection.Trim().Trim(false); if(urls.Index(selection) == wxNOT_FOUND && selection.IsEmpty() == false) { urls.Add(selection); } ssd.SetUrls(urls); m_plugin->SetSettings(ssd); }
SvnCheckoutDialog::~SvnCheckoutDialog() { SvnSettingsData ssd = m_plugin->GetSettings(); wxArrayString urls; wxString selection = m_comboBoxRepoURL->GetValue(); urls = ssd.GetUrls(); selection.Trim().Trim(false); if (urls.Index(selection) == wxNOT_FOUND && selection.IsEmpty() == false) { urls.Add(selection); } ssd.SetUrls(urls); m_plugin->SetSettings(ssd); WindowAttrManager::Save(this, wxT("SvnCheckoutDialog"), m_plugin->GetManager()->GetConfigTool()); }