summaryrefslogtreecommitdiff
path: root/indra/llui/llscrolllistctrl.cpp
diff options
context:
space:
mode:
authorleviathan <leviathan@lindenlab.com>2026-05-07 22:52:05 -0700
committerleviathan <leviathan@lindenlab.com>2026-10-16 13:14:36 -0700
commit5f9fc17e90f3d5a219c52dc3cecf449275174ffc (patch)
tree7ae3505efd8b1010a56d9ff921ed1d84122b69cd /indra/llui/llscrolllistctrl.cpp
parentfa75a7bd0f909c8b19d6217c5c15b4431d439c8b (diff)
overhaul game-control config and UI
Diffstat (limited to 'indra/llui/llscrolllistctrl.cpp')
-rw-r--r--indra/llui/llscrolllistctrl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/llscrolllistctrl.cpp b/indra/llui/llscrolllistctrl.cpp
index a2f16f5fa9..2dc74ccb49 100644
--- a/indra/llui/llscrolllistctrl.cpp
+++ b/indra/llui/llscrolllistctrl.cpp
@@ -2155,9 +2155,10 @@ bool LLScrollListCtrl::handleClick(S32 x, S32 y, MASK mask)
for (item_list::iterator iter = mItemList.begin(); iter != mItemList.end(); iter++)
{
LLScrollListItem* item = *iter;
- if (item->getSelected())
+ if (item && item->getSelected())
{
LLScrollListCell* cellp = item->getColumn(column_index);
+ if (!cellp) continue;
cellp->setValue(item_value);
cellp->onCommit();
if (mLastSelected == NULL)