Mgr: Fix delay displaying notices

This commit is contained in:
Charlie Fenton 2012-12-14 03:40:35 -08:00 committed by Oliver Bock
parent 834bb6b4d3
commit 8749a08804
2 changed files with 8 additions and 1 deletions

View File

@ -7708,3 +7708,9 @@ David 14 Dec 2012
start
tools/
upgrade
Charlie 13 Dec 2012
- Mgr: Fix delay displaying notices.
clientgui/
NoticeListCtrl.cpp

View File

@ -415,7 +415,7 @@ bool CNoticeListCtrl::Create( wxWindow* parent )
// Display the empty notice notification until we have some
// notices to display.
m_bDisplayEmptyNotice = true;
m_bComputerChanged = true;
m_bComputerChanged = false;
return TRUE;
}
@ -545,6 +545,7 @@ wxString CNoticeListCtrl::OnGetItem(size_t i) const {
void CNoticeListCtrl::Clear() {
SetItemCount(0);
m_bComputerChanged = true;
UpdateUI();
}