 
     // collect all of the items and sort them afterwards
     for(uint i=0; i < cache.resourceDirs.length; ++i)
+    {
+        if (activeResourceDirFilters.Find(i) > -1)
+            continue;
+
         ScanResourceDir(i);
+    }
 }
 
 // used to stop ui from blocking while determining file types

            filter.checked = checkbox.checked;
    }
    ignoreRefreshBrowserResults = false;
    RefreshBrowserResults();
}

void HandleResourceDirFilterToggled(StringHash eventType, VariantMap& eventData)

        activeResourceDirFilters.Push(resourceDir);

    if (ignoreRefreshBrowserResults == false)
        RebuildResourceDatabase();
}

void HandleRescanResourceBrowserClick(StringHash eventType, VariantMap& eventData)
