diff options
| author | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-05-08 18:05:10 +0300 |
|---|---|---|
| committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-05-08 18:05:10 +0300 |
| commit | fb7be87bebd785a7a3e7a7b59103bc952d98dc83 (patch) | |
| tree | cbb394f41cfdee600df60f03441b6f7361a92a43 /indra/newview/llfloaterpreviewtrash.cpp | |
| parent | d4d56f004a528ea0cada526132dd77bd410a8fe7 (diff) | |
MAINT-7354 correction to misbehaving 'purge' and notification spam.
Diffstat (limited to 'indra/newview/llfloaterpreviewtrash.cpp')
| -rw-r--r-- | indra/newview/llfloaterpreviewtrash.cpp | 8 |
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"); } |
