From 8749a08804ca2334d3da6d5081b1a0dd7960acca Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 14 Dec 2012 03:40:35 -0800 Subject: [PATCH] Mgr: Fix delay displaying notices --- checkin_notes | 6 ++++++ clientgui/NoticeListCtrl.cpp | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 3e4a93afcc..dc0e9ec3b7 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7708,3 +7708,9 @@ David 14 Dec 2012 start tools/ upgrade + +Charlie 13 Dec 2012 + - Mgr: Fix delay displaying notices. + + clientgui/ + NoticeListCtrl.cpp diff --git a/clientgui/NoticeListCtrl.cpp b/clientgui/NoticeListCtrl.cpp index 28e995832c..bbb468f7e9 100644 --- a/clientgui/NoticeListCtrl.cpp +++ b/clientgui/NoticeListCtrl.cpp @@ -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(); }