aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorJacek Antonelli2009-01-14 20:53:55 -0600
committerJacek Antonelli2009-01-14 20:53:55 -0600
commitb6ff3724572f7ae614699fc98bd1de9fa367b76d (patch)
tree700e7875ee3c7fe4758c3c2233842e99dd18e194 /linden
parentAdded inventory ntype for folders. (diff)
downloadmeta-impy-b6ff3724572f7ae614699fc98bd1de9fa367b76d.zip
meta-impy-b6ff3724572f7ae614699fc98bd1de9fa367b76d.tar.gz
meta-impy-b6ff3724572f7ae614699fc98bd1de9fa367b76d.tar.bz2
meta-impy-b6ff3724572f7ae614699fc98bd1de9fa367b76d.tar.xz
Don't show empty folders when using filter.
This is the old behavior, but I had broken it.
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llinventoryview.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/linden/indra/newview/llinventoryview.cpp b/linden/indra/newview/llinventoryview.cpp
index 52c3b7e..d72fb95 100644
--- a/linden/indra/newview/llinventoryview.cpp
+++ b/linden/indra/newview/llinventoryview.cpp
@@ -280,13 +280,11 @@ void LLInventoryViewFinder::draw()
280 filtered_by_all_types = FALSE; 280 filtered_by_all_types = FALSE;
281 } 281 }
282 282
283 /*
284 if (!filtered_by_all_types) 283 if (!filtered_by_all_types)
285 { 284 {
286 // don't include folders in filter, unless I've selected everything 285 // don't include folders in filter, unless I've selected everything
287 filter &= ~(LLInventoryType::NIT_CATEGORY); 286 filter &= ~(LLInventoryType::NIT_FOLDER);
288 } 287 }
289 */
290 288
291 // update the panel, panel will update the filter 289 // update the panel, panel will update the filter
292 mInventoryView->mActivePanel->setShowFolderState(getCheckShowEmpty() ? 290 mInventoryView->mActivePanel->setShowFolderState(getCheckShowEmpty() ?