diff options
Diffstat (limited to 'indra/llui/llflatlistview.cpp')
-rw-r--r-- | indra/llui/llflatlistview.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indra/llui/llflatlistview.cpp b/indra/llui/llflatlistview.cpp index 209bc6925f..b313f8c950 100644 --- a/indra/llui/llflatlistview.cpp +++ b/indra/llui/llflatlistview.cpp @@ -1004,8 +1004,8 @@ bool LLFlatListView::removeItemPair(item_pair_t* item_pair, bool rearrange) if (rearrange) { - rearrangeItems(); - notifyParentItemsRectChanged(); + rearrangeItems(); + notifyParentItemsRectChanged(); } return true; @@ -1070,6 +1070,7 @@ void LLFlatListView::setNoItemsCommentVisible(bool visible) const mNoItemsCommentTextbox->setRect(comment_rect); */ } + mSelectedItemsBorder->setVisible(FALSE); mNoItemsCommentTextbox->setVisible(visible); } } @@ -1099,7 +1100,10 @@ void LLFlatListView::getValues(std::vector<LLSD>& values) const // virtual void LLFlatListView::onFocusReceived() { + if (size()) + { mSelectedItemsBorder->setVisible(TRUE); + } gEditMenuHandler = this; } // virtual |