summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreviewtrash.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2017-05-08 18:05:10 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2017-05-08 18:05:10 +0300
commitfb7be87bebd785a7a3e7a7b59103bc952d98dc83 (patch)
treecbb394f41cfdee600df60f03441b6f7361a92a43 /indra/newview/llfloaterpreviewtrash.cpp
parentd4d56f004a528ea0cada526132dd77bd410a8fe7 (diff)
MAINT-7354 correction to misbehaving 'purge' and notification spam.
Diffstat (limited to 'indra/newview/llfloaterpreviewtrash.cpp')
-rw-r--r--indra/newview/llfloaterpreviewtrash.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreviewtrash.cpp b/indra/newview/llfloaterpreviewtrash.cpp
index 084e914c9e..717d0ddcad 100644
--- a/indra/newview/llfloaterpreviewtrash.cpp
+++ b/indra/newview/llfloaterpreviewtrash.cpp
@@ -60,7 +60,13 @@ LLFloaterPreviewTrash::~LLFloaterPreviewTrash()
// static
void LLFloaterPreviewTrash::show()
{
- LLFloaterReg::showTypedInstance<LLFloaterPreviewTrash>("preview_trash");
+ LLFloaterReg::showTypedInstance<LLFloaterPreviewTrash>("preview_trash", LLSD(), TRUE);
+}
+
+// static
+bool LLFloaterPreviewTrash::isVisible()
+{
+ return LLFloaterReg::instanceVisible("preview_trash");
}