diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_filebrowser.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_filebrowser.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py index 73a12e5d1c7..ef4f47c9399 100644 --- a/release/scripts/startup/bl_ui/space_filebrowser.py +++ b/release/scripts/startup/bl_ui/space_filebrowser.py @@ -197,7 +197,8 @@ class FILEBROWSER_PT_filter(Panel): sub = row.column(align=True) - sub.prop(params, "use_filter_asset_only") + if context.preferences.experimental.use_asset_browser: + sub.prop(params, "use_filter_asset_only") filter_id = params.filter_id for identifier in dir(filter_id): @@ -390,7 +391,8 @@ class FILEBROWSER_PT_advanced_filter(Panel): layout.separator() col = layout.column(align=True) - col.prop(params, "use_filter_asset_only") + if context.preferences.experimental.use_asset_browser: + col.prop(params, "use_filter_asset_only") filter_id = params.filter_id for identifier in dir(filter_id): |