- client: fix bug in notices where, after a notice is deleted,

the notices tab refreshes once/second forever after

svn path=/trunk/boinc/; revision=25292
This commit is contained in:
David Anderson 2012-02-20 06:29:46 +00:00
parent a6bf5aecf3
commit 995047c74f
3 changed files with 8 additions and 1 deletions

View File

@ -1881,3 +1881,10 @@ David 18 Feb 2012
feeder.cpp
vda/
vdad.cpp
David 19 Feb 2012
- client: fix bug in notices where, after a notice is deleted,
the notices tab refreshes once/second forever after
client/
cs_notice.cpp

View File

@ -519,6 +519,7 @@ void NOTICES::write(int seqno, GUI_RPC_CONN& grc, bool public_only) {
}
grc.mfout.printf("<notices>\n");
if (grc.get_notice_refresh()) {
grc.clear_notice_refresh();
NOTICE n;
n.seqno = -1;
seqno = -1;

View File

@ -76,7 +76,6 @@ public:
notice_refresh = true;
}
void clear_notice_refresh() {
if (!notice_refresh) return;
notice_refresh = false;
}
bool get_notice_refresh() {