summaryrefslogtreecommitdiff
path: root/indra/llui/llflatlistview.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-01-06 16:38:19 -0800
committerLeyla Farazha <leyla@lindenlab.com>2010-01-06 16:38:19 -0800
commit35bb14951f686da538264db349f4bfbe045b8c82 (patch)
tree31d37e3e67863aba03b2c6aef5abc5629a784e65 /indra/llui/llflatlistview.cpp
parent95f14d73138a4f0eb9163fdc560a0dcad9564c4c (diff)
parente28eac929b8d26d133be5c1953cfdd0b7d0eb9e5 (diff)
Merge
Diffstat (limited to 'indra/llui/llflatlistview.cpp')
-rw-r--r--indra/llui/llflatlistview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/llflatlistview.cpp b/indra/llui/llflatlistview.cpp
index 3754d155cf..9cfc67af14 100644
--- a/indra/llui/llflatlistview.cpp
+++ b/indra/llui/llflatlistview.cpp
@@ -906,7 +906,8 @@ void LLFlatListView::notifyParentItemsRectChanged()
params["width"] = req_rect.getWidth();
params["height"] = req_rect.getHeight();
- getParent()->notifyParent(params);
+ if (getParent()) // dummy widgets don't have a parent
+ getParent()->notifyParent(params);
}
void LLFlatListView::setNoItemsCommentVisible(bool visible) const