From d21a17895b903032b3ea1a31b4298723a44b73a1 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sun, 18 Jan 2009 15:21:34 -0600 Subject: LLFolderViewEventListener has type NIT_FOLDER. This fixes folders always showing when filtering. --- ChangeLog.txt | 7 +++++++ linden/indra/newview/llpanelinventory.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 90410fb..aa683a5 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,10 @@ +2009-01-18 Jacek Antonelli + + * linden/indra/newview/llpanelinventory.cpp: + LLFolderViewEventListener has type NIT_FOLDER. + This fixes folders always showing when filtering. + + 2009-01-16 Jacek Antonelli * linden/indra/newview/llinventoryview.cpp: diff --git a/linden/indra/newview/llpanelinventory.cpp b/linden/indra/newview/llpanelinventory.cpp index e41ecdc..7277f05 100644 --- a/linden/indra/newview/llpanelinventory.cpp +++ b/linden/indra/newview/llpanelinventory.cpp @@ -146,7 +146,7 @@ public: virtual BOOL isUpToDate() const { return TRUE; } virtual BOOL hasChildren() const { return FALSE; } virtual LLInventoryType::EType getInventoryType() const { return LLInventoryType::IT_NONE; } - virtual LLInventoryType::NType getNInventoryType() const { return LLInventoryType::NIT_NONE; } + virtual LLInventoryType::NType getNInventoryType() const { return LLInventoryType::NIT_FOLDER; } // LLDragAndDropBridge functionality virtual BOOL startDrag(EDragAndDropType* type, LLUUID* id) const; virtual BOOL dragOrDrop(MASK mask, BOOL drop, -- cgit v1.1