             filter.checked = checkbox.checked;
     }
     ignoreRefreshBrowserResults = false;
-    RefreshBrowserResults();
+    RebuildResourceDatabase();
 }
 
 void HandleResourceDirFilterToggled(StringHash eventType, VariantMap& eventData)


    // collect all of the items and sort them afterwards
    for(uint i=0; i < cache.resourceDirs.length; ++i)
        ScanResourceDir(i);
}

// used to stop ui from blocking while determining file types

        activeResourceDirFilters.Push(resourceDir);

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

void HandleRescanResourceBrowserClick(StringHash eventType, VariantMap& eventData)
