diff --git a/checkin_notes b/checkin_notes index fe208a2238..8f64025dcd 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/cs_notice.cpp b/client/cs_notice.cpp index 98a2e840a5..b1fa920f2c 100644 --- a/client/cs_notice.cpp +++ b/client/cs_notice.cpp @@ -519,6 +519,7 @@ void NOTICES::write(int seqno, GUI_RPC_CONN& grc, bool public_only) { } grc.mfout.printf("\n"); if (grc.get_notice_refresh()) { + grc.clear_notice_refresh(); NOTICE n; n.seqno = -1; seqno = -1; diff --git a/client/gui_rpc_server.h b/client/gui_rpc_server.h index d4e7b29296..defb48e3fb 100644 --- a/client/gui_rpc_server.h +++ b/client/gui_rpc_server.h @@ -76,7 +76,6 @@ public: notice_refresh = true; } void clear_notice_refresh() { - if (!notice_refresh) return; notice_refresh = false; } bool get_notice_refresh() {