Skip to content

Commit

Permalink
Merge pull request #5439 from FTang21/master
Browse files Browse the repository at this point in the history
Fix bad data in Diskwhen client disconnects
  • Loading branch information
AenBleidd authored Dec 6, 2023
2 parents 836a138 + c02d6e0 commit 467980d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clientgui/ViewResources.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,12 @@ void CViewResources::OnListRender( wxTimerEvent& WXUNUSED(event) ) {
wxPiePart part;
part.SetLabel(_("no projects: 0 bytes used"));
part.SetValue(1);
part.SetColour(wxColour(0,0,0));
part.SetColour(isDarkMode ? wxColour(255, 255, 255) : wxColour(0,0,0));
m_pieCtrlBOINC->m_Series.Add(part);
m_pieCtrlBOINC->Refresh();
m_BOINCwasEmpty=true;
refreshBOINC=true;
project_total = 0;
}
}

Expand Down

0 comments on commit 467980d

Please sign in to comment.