void (boolean showExcludedFiles, boolean showModules) { onValidThread(() -> { if (root.showExcludedFiles != showExcludedFiles) { if (root.filter != null) root.resetVisibility(); root.showExcludedFiles = showExcludedFiles; root.valid = false; // need to reload from root } if (root.showModules != showModules) { root.showModules = showModules; root.valid = false; // need to reload from root } }); }