Skip to content
Snippets Groups Projects
Commit 907918c2 authored by Paul Guslisty's avatar Paul Guslisty
Browse files

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
parent 1be44136
No related branches found
No related tags found
No related merge requests found
...@@ -1067,6 +1067,7 @@ void LLFlatListView::setNoItemsCommentVisible(bool visible) const ...@@ -1067,6 +1067,7 @@ void LLFlatListView::setNoItemsCommentVisible(bool visible) const
mNoItemsCommentTextbox->setRect(comment_rect); mNoItemsCommentTextbox->setRect(comment_rect);
*/ */
} }
mSelectedItemsBorder->setVisible(FALSE);
mNoItemsCommentTextbox->setVisible(visible); mNoItemsCommentTextbox->setVisible(visible);
} }
} }
...@@ -1096,7 +1097,10 @@ void LLFlatListView::getValues(std::vector<LLSD>& values) const ...@@ -1096,7 +1097,10 @@ void LLFlatListView::getValues(std::vector<LLSD>& values) const
// virtual // virtual
void LLFlatListView::onFocusReceived() void LLFlatListView::onFocusReceived()
{ {
mSelectedItemsBorder->setVisible(TRUE); if (size())
{
mSelectedItemsBorder->setVisible(TRUE);
}
gEditMenuHandler = this; gEditMenuHandler = this;
} }
// virtual // virtual
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment