OSDN Git Service

Fix settings dialog don't show remote because shell have not given path argument
[tortoisegit/TortoiseGitJp.git] / src / TortoiseShell / ContextMenu.cpp
index c04ef91..953a281 100644 (file)
@@ -1655,7 +1655,12 @@ STDMETHODIMP CShellExt::InvokeCommand(LPCMINVOKECOMMANDINFO lpcmi)
                                svnCmd += _T("\"");\r
                                break;\r
                        case ShellMenuSettings:\r
                                svnCmd += _T("\"");\r
                                break;\r
                        case ShellMenuSettings:\r
-                               svnCmd += _T("settings");\r
+                               svnCmd += _T("settings /path:\"");\r
+                               if (files_.size() > 0)\r
+                                       svnCmd += files_.front();\r
+                               else\r
+                                       svnCmd += folder_;\r
+                               svnCmd += _T("\"");\r
                                break;\r
                        case ShellMenuHelp:\r
                                svnCmd += _T("help");\r
                                break;\r
                        case ShellMenuHelp:\r
                                svnCmd += _T("help");\r