diff options
author | Andrew Dyukov <adyukov@productengine.com> | 2010-07-15 15:06:35 +0300 |
---|---|---|
committer | Andrew Dyukov <adyukov@productengine.com> | 2010-07-15 15:06:35 +0300 |
commit | 5a56c79fd45b5a422b1f9139995fb3d78ba7815f (patch) | |
tree | c5bf0fe66e2d0d28dc693b0ce8a3bb275787980e /indra/llui | |
parent | 8c216c67efd47fc0dc52fa63d02d1f7ca80ebc24 (diff) |
EXT-7511 FIXED Fixed disappearance of selected item's border in flatlistviews.
- This issue was a regression caused by EXT-8052. Bug was caused by setting visibility of border to FALSE without respect to boolean argument passed to setNoItemsCommentVisible().
setNoItemsCommentVisible() is called on every rearrange, so border disappeared quite often. Fixed it by setting border's visibility depending on passed argument.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/764/
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llflatlistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llflatlistview.cpp b/indra/llui/llflatlistview.cpp index 3c79da64f9..12004e2a75 100644 --- a/indra/llui/llflatlistview.cpp +++ b/indra/llui/llflatlistview.cpp @@ -1079,7 +1079,7 @@ void LLFlatListView::setNoItemsCommentVisible(bool visible) const mNoItemsCommentTextbox->setRect(comment_rect); */ } - mSelectedItemsBorder->setVisible(FALSE); + mSelectedItemsBorder->setVisible(!visible); mNoItemsCommentTextbox->setVisible(visible); } } |