diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-01-05 19:41:48 +0200 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-01-05 19:41:48 +0200 |
commit | bea3042c48ace1ca35164efa74ba95ae6e29d3ba (patch) | |
tree | 9e766a9262fe3055c41e22099aaa76a8f0cbf487 /indra/llui | |
parent | 4a333f37317e6a793c953e0db6465bb8b6ec164c (diff) | |
parent | babc73682d4584fb725fbf289e0e235ad99195b1 (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llflatlistview.cpp | 3 |
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 |