summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-04-12 21:11:36 +0300
committerMaxim Nikolenko <maximnproductengine@lindenlab.com>2023-04-12 21:11:36 +0300
commit37530c9d736d90ec29b97e3567346a02e2826f97 (patch)
treece6bbd2c701e9c0bc86a839918bc7f9801ddb4f9 /indra/newview/llinventorypanel.cpp
parentc6d2bf93c02c6099f4c86a3379c3e82e21f9f37e (diff)
SL-19544 WIP hide inventory pane in Combination view, if there is no visible items
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r--indra/newview/llinventorypanel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index cc81b53841..2193743a38 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -2221,6 +2221,10 @@ void LLInventorySingleFolderPanel::updateSingleFolderRoot()
}
}
+bool LLInventorySingleFolderPanel::hasVisibleItems()
+{
+ return mFolderRoot.get()->hasVisibleChildren();
+}
/************************************************************************/
/* Asset Pre-Filtered Inventory Panel related class */
/************************************************************************/