mirror of https://github.com/BOINC/boinc.git
parent
3902533acb
commit
53908f3cbe
|
@ -1070,11 +1070,10 @@ void CMainWindow::UpdateGUI(CLIENT_STATE* cs)
|
||||||
m_ResultListCtrl.SetItemText(i, 3, buf);
|
m_ResultListCtrl.SetItemText(i, 3, buf);
|
||||||
|
|
||||||
// progress
|
// progress
|
||||||
ACTIVE_TASK* at = gstate.lookup_active_task_by_workunit(re->wup);
|
ACTIVE_TASK* at = gstate.lookup_active_task_by_result(re);
|
||||||
if(!at) {
|
if(!at) {
|
||||||
buf.Format("no active task");
|
buf.Format("no active task");
|
||||||
} else {
|
} else {
|
||||||
// at->check_app_status_files();
|
|
||||||
buf.Format("%d%%", (int)(at->fraction_done * 100));
|
buf.Format("%d%%", (int)(at->fraction_done * 100));
|
||||||
}
|
}
|
||||||
m_ResultListCtrl.SetItemText(i, 4, buf);
|
m_ResultListCtrl.SetItemText(i, 4, buf);
|
||||||
|
|
Loading…
Reference in New Issue