summaryrefslogtreecommitdiff
path: root/indra/llui/llnotifications.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-09-17 14:56:03 -0700
committerRichard Linden <none@none>2010-09-17 14:56:03 -0700
commit159fd0316adccbf51faa2f6293952d615b3f2a14 (patch)
tree71f8baf00792fdcbfec6f2603c9ce14c5a5ab46c /indra/llui/llnotifications.h
parent418941234dc276fe8ecc54abba3e06887ea78bfe (diff)
fix for enable all popups not working
also popup notification is no longer a singleton
Diffstat (limited to 'indra/llui/llnotifications.h')
-rw-r--r--indra/llui/llnotifications.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llnotifications.h b/indra/llui/llnotifications.h
index ed29e0d83e..dcb7b48f92 100644
--- a/indra/llui/llnotifications.h
+++ b/indra/llui/llnotifications.h
@@ -458,6 +458,13 @@ public:
return mRespondedTo;
}
+ bool isActive() const
+ {
+ return !isRespondedTo()
+ && !isCancelled()
+ && !isExpired();
+ }
+
const LLSD& getResponse() { return mResponse; }
bool isIgnored() const