OSDN Git Service

Fix Switch button del\add wrong problem
authorFrank Li <lznuaa@gmail.com>
Sun, 24 Jan 2010 10:33:35 +0000 (18:33 +0800)
committerFrank Li <lznuaa@gmail.com>
Sun, 24 Jan 2010 10:33:35 +0000 (18:33 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/FileDiffDlg.cpp

index 25cba21..818848d 100644 (file)
@@ -928,6 +928,8 @@ void CFileDiffDlg::OnBnClickedSwitchleftright()
 \r
        if (m_bThreadRunning)\r
                return;\r
+\r
+#if 0\r
        CString sFilterString;\r
        m_cFilter.GetWindowText(sFilterString);\r
 \r
@@ -944,6 +946,7 @@ void CFileDiffDlg::OnBnClickedSwitchleftright()
                (CTGitPath&)m_arFileList[i] = fd;\r
        }\r
        Filter(sFilterString);\r
+#endif\r
 \r
        m_cFileList.SetRedraw(true);\r
        CTGitPath path = m_path1;\r
@@ -961,7 +964,7 @@ void CFileDiffDlg::OnBnClickedSwitchleftright()
        this->m_ctrRev2Edit.SetWindowText(str1);\r
 \r
        SetURLLabels();\r
-\r
+       //KillTimer(IDT_INPUT);\r
 }\r
 \r
 void CFileDiffDlg::SetURLLabels(int mask)\r