Added estimated time remaining to transfers column

This commit is contained in:
Vulpine05 2022-07-03 14:32:09 -05:00
parent e417e7721b
commit 0f3e0dc6d4
1 changed files with 4 additions and 4 deletions

View File

@ -658,10 +658,10 @@ bool CViewTransfers::SynchronizeCacheItem(wxInt32 iRowIndex, wxInt32 iColumnInde
}
break;
case COLUMN_TOCOMPLETION:
GetDocTimeToCompletion(m_iSortedIndexes[iRowIndex], x);
if (x != transfer->m_fTimeToCompletion) {
transfer->m_fTimeToCompletion = x;
transfer->m_strTimeToCompletion = FormatTime(x);
GetDocTimeToCompletion(m_iSortedIndexes[iRowIndex], fDocumentDouble);
if (fDocumentDouble != transfer->m_fTimeToCompletion) {
transfer->m_fTimeToCompletion = fDocumentDouble;
transfer->m_strTimeToCompletion = FormatTime(fDocumentDouble);
bNeedRefresh = true;
}
break;