summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-09-16 16:51:07 -0700
committerRichard Linden <none@none>2010-09-16 16:51:07 -0700
commit7b7d8ffc22d3af3186f96d57f1276411f558d6f1 (patch)
treea61f4f1affee9833522039f9e94cb8c315ce0b39 /indra/llui
parentd2a0327b6e89ca678e50e58dd685ea80e4c51cb5 (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')
-rw-r--r--indra/llui/llnotificationtemplate.h10
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("")
{}
};