diff options
author | Richard Linden <none@none> | 2010-09-16 16:51:07 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-09-16 16:51:07 -0700 |
commit | 7b7d8ffc22d3af3186f96d57f1276411f558d6f1 (patch) | |
tree | a61f4f1affee9833522039f9e94cb8c315ce0b39 /indra/llui/llnotificationtemplate.h | |
parent | d2a0327b6e89ca678e50e58dd685ea80e4c51cb5 (diff) |
EXP-73 FIX hint cannot be dismissed with X and crashes browser when hint is triggered by user taking an object from inworld into inventory
Diffstat (limited to 'indra/llui/llnotificationtemplate.h')
-rw-r--r-- | indra/llui/llnotificationtemplate.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/llui/llnotificationtemplate.h b/indra/llui/llnotificationtemplate.h index 4a020bfe70..a4d393f874 100644 --- a/indra/llui/llnotificationtemplate.h +++ b/indra/llui/llnotificationtemplate.h @@ -74,10 +74,18 @@ struct LLNotificationTemplate struct UniquenessContext : public LLInitParam::Block<UniquenessContext> { + private: + // this idiom allows + // <notification unique="true"> + // as well as + // <notification> <unique> <context key=""/> </unique>... + Optional<bool> dummy_val; + public: Mandatory<std::string> key; UniquenessContext() - : key("key") + : key("key"), + dummy_val("") {} }; |