OSDN Git Service

Fix when nothing commit, message box will show ask user enable "show unversion files"
authorFrank Li <lznuaa@gmail.com>
Mon, 2 Feb 2009 14:54:10 +0000 (22:54 +0800)
committerFrank Li <lznuaa@gmail.com>
Mon, 2 Feb 2009 14:54:10 +0000 (22:54 +0800)
if user choose yes, "show unversion files" checked. But no unversion files show

Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/CommitDlg.cpp

index 4bfa992..60d7edc 100644 (file)
@@ -707,6 +707,7 @@ UINT CCommitDlg::StatusThread()
                        m_bShowUnversioned = TRUE;\r
                        GetDlgItem(IDC_SHOWUNVERSIONED)->SendMessage(BM_SETCHECK, BST_CHECKED);\r
                        DWORD dwShow = SVNSLC_SHOWVERSIONEDBUTNORMALANDEXTERNALSFROMDIFFERENTREPOS | SVNSLC_SHOWUNVERSIONED | SVNSLC_SHOWLOCKS;\r
                        m_bShowUnversioned = TRUE;\r
                        GetDlgItem(IDC_SHOWUNVERSIONED)->SendMessage(BM_SETCHECK, BST_CHECKED);\r
                        DWORD dwShow = SVNSLC_SHOWVERSIONEDBUTNORMALANDEXTERNALSFROMDIFFERENTREPOS | SVNSLC_SHOWUNVERSIONED | SVNSLC_SHOWLOCKS;\r
+                       m_ListCtrl.UpdateFileList(CGitStatusListCtrl::FILELIST_UNVER);\r
                        m_ListCtrl.Show(dwShow);\r
                }\r
        }\r
                        m_ListCtrl.Show(dwShow);\r
                }\r
        }\r