When using "Commit" to also add files, if you forget to check the new files and press "Ok", you get the dialog "Nothing Commit" and then the whole Commit dialog closes. Keep the dialog open after this message.
Signed-off-by: Frank Li <lznuaa@gmail.com>
\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