summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-02-27 18:02:19 +0200
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-02-27 18:02:19 +0200
commitcb7debd70dc880a9cdeef983dc99281780c5e89a (patch)
tree2189180ec2d3a71e1a2d8294eae848b5b414316c /indra/newview/llinventorypanel.cpp
parent8795da7c831c61cfa1cb8c14ebcea7cd6c484e23 (diff)
SL-19273 Show message when folder is empty or if no search results
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r--indra/newview/llinventorypanel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index 80d9b69937..77588c8716 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -2045,6 +2045,8 @@ LLInventorySingleFolderPanel::LLInventorySingleFolderPanel(const Params& params)
: LLInventoryPanel(params)
{
getFilter().setSingleFolderMode(true);
+ getFilter().setEmptyLookupMessage("InventorySingleFolderNoMatches");
+ getFilter().setDefaultEmptyLookupMessage("InventorySingleFolderEmpty");
mCommitCallbackRegistrar.add("Inventory.OpenSelectedFolder", boost::bind(&LLInventorySingleFolderPanel::openInCurrentWindow, this, _2));
}
@@ -2166,8 +2168,6 @@ void LLInventorySingleFolderPanel::updateSingleFolderRoot()
mFolderRoot.get()->setCallbackRegistrar(&mCommitCallbackRegistrar);
buildNewViews(mFolderID);
-
- mFolderRoot.get()->setShowEmptyMessage(false);
}
}