diff options
Diffstat (limited to 'indra/llui')
| -rw-r--r-- | indra/llui/llflatlistview.cpp | 3 | ||||
| -rw-r--r-- | indra/llui/lllayoutstack.h | 3 | 
2 files changed, 5 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 diff --git a/indra/llui/lllayoutstack.h b/indra/llui/lllayoutstack.h index cde383b047..aba35773ee 100644 --- a/indra/llui/lllayoutstack.h +++ b/indra/llui/lllayoutstack.h @@ -91,6 +91,9 @@ public:  	bool getPanelMinSize(const std::string& panel_name, S32* min_widthp, S32* min_heightp);  	void updateLayout(BOOL force_resize = FALSE); +	 +	S32 getPanelSpacing() const { return mPanelSpacing; } +	  	static void updateClass();  protected: | 
