OSDN Git Service

Fixed issue #112: (7) Low hanging GUI fruits during Commit and Push
[tortoisegit/TortoiseGitJp.git] / src / TortoiseProc / CommitDlg.cpp
index 0ca8712..ac04831 100644 (file)
@@ -519,7 +519,10 @@ void CCommitDlg::OnOK()
 \r
                CFile::Remove(tempfile);\r
        }else\r
 \r
                CFile::Remove(tempfile);\r
        }else\r
-               CMessageBox::Show(this->m_hWnd, _T("Nothing Commit"), _T("Commit Finish"), MB_OK | MB_ICONINFORMATION);\r
+       {\r
+               CMessageBox::Show(this->m_hWnd, IDS_ERROR_NOTHING_COMMIT, IDS_COMMIT_FINISH, MB_OK | MB_ICONINFORMATION);\r
+               bCloseCommitDlg=false;\r
+       }\r
 #if 0\r
        if (m_pathwatcher.GetNumberOfChangedPaths() && m_bRecursive)\r
        {\r
 #if 0\r
        if (m_pathwatcher.GetNumberOfChangedPaths() && m_bRecursive)\r
        {\r