summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorPaul Guslisty <pguslisty@productengine.com>2010-07-06 14:34:12 +0300
committerPaul Guslisty <pguslisty@productengine.com>2010-07-06 14:34:12 +0300
commit907918c2deaf5880b5417c50c9e0927d4d9ff499 (patch)
tree00bb61bcec6abf71ae73d47b42046ddea6def2d9 /indra
parent1be44136e08d632fcf0ebcfd88484793437bd551 (diff)
EXT-8052 FIXED (Unnecessary selection border remains on 'People->Nearby' tab)
- Hide selection border before showing no items comment Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/681/ --HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/llui/llflatlistview.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llui/llflatlistview.cpp b/indra/llui/llflatlistview.cpp
index b87851490d..6eb214cb93 100644
--- a/indra/llui/llflatlistview.cpp
+++ b/indra/llui/llflatlistview.cpp
@@ -1067,6 +1067,7 @@ void LLFlatListView::setNoItemsCommentVisible(bool visible) const
mNoItemsCommentTextbox->setRect(comment_rect);
*/
}
+ mSelectedItemsBorder->setVisible(FALSE);
mNoItemsCommentTextbox->setVisible(visible);
}
}
@@ -1096,7 +1097,10 @@ void LLFlatListView::getValues(std::vector<LLSD>& values) const
// virtual
void LLFlatListView::onFocusReceived()
{
- mSelectedItemsBorder->setVisible(TRUE);
+ if (size())
+ {
+ mSelectedItemsBorder->setVisible(TRUE);
+ }
gEditMenuHandler = this;
}
// virtual