OSDN Git Service

Add Shell Notification at add, cleanup and remove and rename, CommitDlg.cpp
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / Commands / AddCommand.cpp
index ea0bc74..984a377 100644 (file)
@@ -86,10 +86,14 @@ bool AddCommand::Execute()
                                //progDlg.SetProjectProperties(props);\r
                                progDlg.SetItemCount(dlg.m_pathList.GetCount());\r
                                progDlg.DoModal();\r
+\r
+                               CShellUpdater::Instance().AddPathsForUpdate(dlg.m_pathList);\r
+\r
                                bRet = !progDlg.DidErrorsOccur();\r
 \r
                        }\r
        //      }\r
        }\r
+       CShellUpdater::Instance().Flush();\r
        return bRet;\r
 }\r