diff options
author | Richard Linden <none@none> | 2012-04-26 10:44:45 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2012-04-26 10:44:45 -0700 |
commit | db316f830df45e1b0229ebcbdb5feedc5eb23913 (patch) | |
tree | 7e209505d1b0a7e61562a4e53f5ddea81087c05e /indra/newview/llfolderviewitem.cpp | |
parent | 6781eb101b135763a92153a3eab1245be95172bf (diff) |
CHUI-101 WIP Make LLFolderView general purpose
removed hacks for object inventory folderview
Diffstat (limited to 'indra/newview/llfolderviewitem.cpp')
-rw-r--r-- | indra/newview/llfolderviewitem.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp index 8d6114c887..ab1794ff15 100644 --- a/indra/newview/llfolderviewitem.cpp +++ b/indra/newview/llfolderviewitem.cpp @@ -417,9 +417,8 @@ S32 LLFolderViewItem::arrange( S32* width, S32* height, S32 filter_generation) const Params& p = LLUICtrlFactory::getDefaultParams<LLFolderViewItem>(); S32 indentation = p.folder_indentation(); // Only indent deeper items in hierarchy - mIndentation = (getParentFolder() - && getParentFolder()->getParentFolder() ) - ? mParentFolder->getIndentation() + indentation + mIndentation = (getParentFolder()) + ? getParentFolder()->getIndentation() + indentation : 0; if (mLabelWidthDirty) { |