mirror of https://github.com/BOINC/boinc.git
- 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:
parent
a6bf5aecf3
commit
995047c74f
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -76,7 +76,6 @@ public:
|
|||
notice_refresh = true;
|
||||
}
|
||||
void clear_notice_refresh() {
|
||||
if (!notice_refresh) return;
|
||||
notice_refresh = false;
|
||||
}
|
||||
bool get_notice_refresh() {
|
||||
|
|
Loading…
Reference in New Issue