MGR: When removing a row from sorted lists, refresh all rows to ensure proper display update

svn path=/trunk/boinc/; revision=16336
This commit is contained in:
Charlie Fenton 2008-10-28 20:49:56 +00:00
parent b9b1d9addc
commit 7d78707787
2 changed files with 8 additions and 0 deletions

View File

@ -8786,3 +8786,10 @@ Rom 28 Oct 2008
/
configure.ac
version.h
Charlie 28 Oct 2008
- MGR: When removing a row Projects, Tasks and Transfers tabs, refresh
all rows. Fixes a bug where display was not always properly updated.
clientgui/
BOINCBaseView.cpp

View File

@ -280,6 +280,7 @@ void CBOINCBaseView::OnListRender(wxTimerEvent& event) {
wxASSERT(!iReturnValue);
}
wxASSERT(GetDocCount() == GetCacheCount());
m_pListPane->RefreshItems(0, iDocCount - 1);
}
m_pListPane->SetItemCount(iDocCount);