pHead->GetWindowText( HeadText ); \r
pHead->SetWindowText( HeadText + " (" + g_Git.GetCurrentBranch() + ")");\r
EnableSaveRestore(_T("BranchTagDlg"));\r
+\r
+ OnCbnSelchangeComboboxexBranch();\r
return TRUE;\r
\r
\r
{\r
// TODO: Add your control notification handler code here\r
\r
- if(this->m_ChooseVersioinBranch.GetString().Left(6)==_T("origin"))\r
+ if(this->m_ChooseVersioinBranch.GetString().Left(8)==_T("remotes/"))\r
this->GetDlgItem(IDC_CHECK_TRACK)->EnableWindow(TRUE);\r
else\r
this->GetDlgItem(IDC_CHECK_TRACK)->EnableWindow(FALSE);\r