diff --git a/checkin_notes b/checkin_notes index 30900146f3..99abe54a18 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7415,3 +7415,9 @@ David 16 Oct 2010 client/ cs_notice.cpp,h sim.cpp + +David 16 Oct 2010 + - bug fix for the above + + client/ + cs_notice.cpp diff --git a/client/cs_notice.cpp b/client/cs_notice.cpp index 88d727f632..2c3b8cc034 100644 --- a/client/cs_notice.cpp +++ b/client/cs_notice.cpp @@ -279,14 +279,21 @@ void NOTICES::clear_keep() { void NOTICES::unkeep(const char* url) { deque::iterator i = notices.begin(); + bool removed_something = false; while (i != notices.end()) { NOTICE& n = *i; if (!strcmp(url, n.feed_url) && !n.keep) { i = notices.erase(i); + removed_something = true; } else { i++; } } +#ifndef SIM + if (removed_something) { + gstate.gui_rpcs.set_notice_refresh(); + } +#endif } static inline bool same_guid(NOTICE& n1, NOTICE& n2) {