OSDN Git Service

Fix issue 17 Switch should default branch to current branch
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / GitSwitchDlg.cpp
index e11f849..1513daa 100644 (file)
@@ -58,10 +58,11 @@ BOOL CGitSwitchDlg::OnInitDialog()
 \r
        \r
        CHOOSE_VERSION_ADDANCHOR;\r
-       Init();\r
 \r
        EnableSaveRestore(_T("SwitchDlg"));\r
 \r
+       Init();\r
+\r
        if(m_Base.IsEmpty())\r
                SetDefaultChoose(IDC_RADIO_BRANCH);\r
        else\r