Revision | 29472 (tree) |
---|---|
Zeit | 2022-11-10 03:44:33 |
Autor | stefankueng |
disable the commit button while fetching the status
@@ -178,6 +178,7 @@ | ||
178 | 178 | RefreshCursor(); |
179 | 179 | m_bCanceled = false; |
180 | 180 | SetDlgItemText(IDOK, CString(MAKEINTRESOURCE(IDS_MSGBOX_CANCEL))); |
181 | + DialogEnableWindow(IDC_COMMIT, FALSE); | |
181 | 182 | DialogEnableWindow(IDC_REFRESH, FALSE); |
182 | 183 | DialogEnableWindow(IDC_CHECKREPO, FALSE); |
183 | 184 | DialogEnableWindow(IDC_SHOWUNVERSIONED, FALSE); |
@@ -212,6 +213,7 @@ | ||
212 | 213 | else |
213 | 214 | CAppUtils::SetWindowTitle(m_hWnd, commonDir.GetWinPathString(), m_sTitle); |
214 | 215 | SetDlgItemText(IDOK, CString(MAKEINTRESOURCE(IDS_MSGBOX_OK))); |
216 | + DialogEnableWindow(IDC_COMMIT, TRUE); | |
215 | 217 | DialogEnableWindow(IDC_REFRESH, TRUE); |
216 | 218 | DialogEnableWindow(IDC_CHECKREPO, TRUE); |
217 | 219 | DialogEnableWindow(IDC_SHOWUNVERSIONED, !bSingleFile); |