summaryrefslogtreecommitdiff
path: root/indra/llui/llflatlistview.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2025-08-24 14:29:24 -0700
committerGitHub <noreply@github.com>2025-08-24 14:29:24 -0700
commitf25c2a56c0c8079163e9ef18f6a9e590341b1e1a (patch)
treea3fa4bd843f919575aaddf0928eff38bae7d7b04 /indra/llui/llflatlistview.cpp
parent96023976f5af0b9af8e8d066d9ad4eea213f53ee (diff)
parent375158eb6450a0291ec1a0f55714fbf19a8287eb (diff)
Merge pull request #4602 from secondlife/rider/release_to_luaedit
Rider/release to luaedit
Diffstat (limited to 'indra/llui/llflatlistview.cpp')
-rw-r--r--indra/llui/llflatlistview.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/llui/llflatlistview.cpp b/indra/llui/llflatlistview.cpp
index 8178bada42..5be20bd314 100644
--- a/indra/llui/llflatlistview.cpp
+++ b/indra/llui/llflatlistview.cpp
@@ -1346,9 +1346,17 @@ bool LLFlatListViewEx::getForceShowingUnmatchedItems() const
return mForceShowingUnmatchedItems;
}
-void LLFlatListViewEx::setForceShowingUnmatchedItems(bool show)
+void LLFlatListViewEx::setForceShowingUnmatchedItems(bool show, bool notify_parent)
+{
+ if (mForceShowingUnmatchedItems != show)
{
mForceShowingUnmatchedItems = show;
+ if (!mFilterSubString.empty())
+ {
+ updateNoItemsMessage(mFilterSubString);
+ filterItems(false, true);
+ }
+ }
}
void LLFlatListViewEx::setFilterSubString(const std::string& filter_str, bool notify_parent)
@@ -1416,6 +1424,7 @@ void LLFlatListViewEx::filterItems(bool re_sort, bool notify_parent)
if (visibility_changed && notify_parent)
{
+ rearrangeItems();
notifyParentItemsRectChanged();
}
}