prefs: show root of filter tree as enabled so it's not grayed out

This commit is contained in:
Andrew Dolgov 2020-07-01 09:48:27 +03:00
parent c352e872e9
commit 2996a3942f
1 changed files with 2 additions and 1 deletions

View File

@ -238,6 +238,7 @@ class Pref_Filters extends Handler_Protected {
$root = array(); $root = array();
$root['id'] = 'root'; $root['id'] = 'root';
$root['name'] = __('Filters'); $root['name'] = __('Filters');
$root['enabled'] = true;
$root['items'] = array(); $root['items'] = array();
$filter_search = $_SESSION["prefs_filter_search"]; $filter_search = $_SESSION["prefs_filter_search"];