Skip to content

Commit 3c21763

Browse files
committed
Add estimated completion date
1 parent c01f23e commit 3c21763

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clientgui/ViewWork.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ CWork::CWork() {
8686
m_fProgress = -1.0;
8787
m_fTimeToCompletion = -1.0;
8888
m_tReportDeadline = (time_t)0;
89+
m_tEstimatedCompletion = (time_t)0;
8990
}
9091

9192

@@ -1119,7 +1120,7 @@ bool CViewWork::SynchronizeCacheItem(wxInt32 iRowIndex, wxInt32 iColumnIndex) {
11191120
GetDocEstCompletionDate(m_iSortedIndexes[iRowIndex], tDocumentTime);
11201121
if (tDocumentTime != work->m_tEstimatedCompletion) {
11211122
work->m_tEstimatedCompletion = tDocumentTime;
1122-
if (work->m_tEstimatedCompletion = 0) {
1123+
if (work->m_tEstimatedCompletion == 0) {
11231124
work->m_strEstimatedCompletion << 0;
11241125
}
11251126
else {

0 commit comments

Comments
 (0)