Skip to content
Snippets Groups Projects
Commit 7de6475a authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

MAINT-8125 "New" tag remains visible when searching items in Received Items panel

parent 6ea525f6
No related branches found
No related tags found
No related merge requests found
...@@ -224,7 +224,7 @@ void LLBadge::draw() ...@@ -224,7 +224,7 @@ void LLBadge::draw()
{ {
LLView* owner_view = mOwner.get(); LLView* owner_view = mOwner.get();
if (owner_view) if (owner_view && owner_view->isInVisibleChain())
{ {
// //
// Calculate badge size based on label text // Calculate badge size based on label text
......
...@@ -146,18 +146,16 @@ void LLInboxFolderViewFolder::draw() ...@@ -146,18 +146,16 @@ void LLInboxFolderViewFolder::draw()
LLFolderViewFolder::draw(); LLFolderViewFolder::draw();
} }
void LLInboxFolderViewFolder::selectItem() BOOL LLInboxFolderViewFolder::handleMouseDown( S32 x, S32 y, MASK mask )
{ {
deFreshify(); deFreshify();
return LLFolderViewFolder::handleMouseDown(x, y, mask);
LLFolderViewFolder::selectItem();
} }
void LLInboxFolderViewFolder::toggleOpen() BOOL LLInboxFolderViewFolder::handleDoubleClick( S32 x, S32 y, MASK mask )
{ {
deFreshify(); deFreshify();
return LLFolderViewFolder::handleDoubleClick(x, y, mask);
LLFolderViewFolder::toggleOpen();
} }
void LLInboxFolderViewFolder::computeFreshness() void LLInboxFolderViewFolder::computeFreshness()
......
...@@ -69,8 +69,8 @@ class LLInboxFolderViewFolder : public LLFolderViewFolder, public LLBadgeOwner ...@@ -69,8 +69,8 @@ class LLInboxFolderViewFolder : public LLFolderViewFolder, public LLBadgeOwner
void addItem(LLFolderViewItem* item); void addItem(LLFolderViewItem* item);
void draw(); void draw();
void selectItem(); BOOL handleMouseDown(S32 x, S32 y, MASK mask);
void toggleOpen(); BOOL handleDoubleClick(S32 x, S32 y, MASK mask);
void computeFreshness(); void computeFreshness();
void deFreshify(); void deFreshify();
......
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