summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreviewtrash.cpp
diff options
context:
space:
mode:
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");
}