diff options
Diffstat (limited to 'release/scripts/ui/space_filebrowser.py')
-rw-r--r-- | release/scripts/ui/space_filebrowser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/ui/space_filebrowser.py b/release/scripts/ui/space_filebrowser.py index 46d3e16acd1..6b51ff42c10 100644 --- a/release/scripts/ui/space_filebrowser.py +++ b/release/scripts/ui/space_filebrowser.py @@ -44,11 +44,11 @@ class FILEBROWSER_HT_header(bpy.types.Header): row = layout.row(align=True) row.operator("file.directory_new", text="", icon='NEWFOLDER') - + params = st.params # can be None when save/reload with a file selector open - if params: + if params: layout.prop(params, "display_type", expand=True, text="") layout.prop(params, "sort_method", expand=True, text="") |