From cb3911a53ae542594047b31c4e9fe23dabebba0e Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 23 Apr 2008 00:43:18 +0000 Subject: [PATCH] Work around a bug where Projects Grid View occasionally didn't update when a new selection is made svn path=/trunk/boinc/; revision=15084 --- clientgui/ViewProjectsGrid.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clientgui/ViewProjectsGrid.cpp b/clientgui/ViewProjectsGrid.cpp index 776a19bfa0..4e565f653c 100644 --- a/clientgui/ViewProjectsGrid.cpp +++ b/clientgui/ViewProjectsGrid.cpp @@ -520,6 +520,7 @@ void CViewProjectsGrid::UpdateSelection() { // new selection. This hack works around that bug. if (n != lastCount) { m_bForceUpdateSelection = true; + lastCount = n; } if(!m_bForceUpdateSelection) {