• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision29472 (tree)
Time2022-11-10 03:44:33
Authorstefankueng

Log Message

disable the commit button while fetching the status

Change Summary

Incremental Difference

--- trunk/src/TortoiseProc/ChangedDlg.cpp (revision 29471)
+++ trunk/src/TortoiseProc/ChangedDlg.cpp (revision 29472)
@@ -178,6 +178,7 @@
178178 RefreshCursor();
179179 m_bCanceled = false;
180180 SetDlgItemText(IDOK, CString(MAKEINTRESOURCE(IDS_MSGBOX_CANCEL)));
181+ DialogEnableWindow(IDC_COMMIT, FALSE);
181182 DialogEnableWindow(IDC_REFRESH, FALSE);
182183 DialogEnableWindow(IDC_CHECKREPO, FALSE);
183184 DialogEnableWindow(IDC_SHOWUNVERSIONED, FALSE);
@@ -212,6 +213,7 @@
212213 else
213214 CAppUtils::SetWindowTitle(m_hWnd, commonDir.GetWinPathString(), m_sTitle);
214215 SetDlgItemText(IDOK, CString(MAKEINTRESOURCE(IDS_MSGBOX_OK)));
216+ DialogEnableWindow(IDC_COMMIT, TRUE);
215217 DialogEnableWindow(IDC_REFRESH, TRUE);
216218 DialogEnableWindow(IDC_CHECKREPO, TRUE);
217219 DialogEnableWindow(IDC_SHOWUNVERSIONED, !bSingleFile);
Show on old repository browser