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. --- linden/indra/newview/llpanelinventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden/indra') 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