void CSettingGitRemote::OnBnClickedButtonAdd()\r
{\r
// TODO: Add your control notification handler code here\r
- this->m_strRemote.Empty();\r
+ if( this->m_ctrlRemoteList.GetCount() == 0)\r
+ {\r
+ this->m_strRemote = _T("origin");\r
+ }\r
+ else\r
+ { \r
+ this->m_strRemote.Empty();\r
+ }\r
this->m_strUrl.Empty();\r
this->m_strPuttyKeyfile.Empty();\r
this->UpdateData(FALSE);\r