OSDN Git Service

Fixed issue #150: When pushing, 'remote' should default to the tracked branch, or...
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / BranchCombox.h
index d1d9339..14b1015 100644 (file)
@@ -55,9 +55,10 @@ protected:
                {\r
                        m_ctrlRemoteBranch.AddString(pullBranch);\r
                }\r
-               else if(!this->m_RegKeyRemoteBranch.IsEmpty())\r
+               //else if(!this->m_RegKeyRemoteBranch.IsEmpty())\r
+               else\r
                {\r
-                       m_ctrlRemoteBranch.AddString(currentBranch);\r
+                       m_ctrlRemoteBranch.SetCurSel(-1);\r
                }\r
                \r
                this->AddBranchToolTips(&this->m_ctrlLocalBranch,this->m_pTooltip);\r