Fix T65770: File Browser missing "Sidebar" in View menu
This commit is contained in:
parent
79bd5174e4
commit
5dcabc4d57
|
@ -250,6 +250,11 @@ class FILEBROWSER_MT_view(Menu):
|
|||
st = context.space_data
|
||||
params = st.params
|
||||
|
||||
layout.prop(st, "show_region_toolbar")
|
||||
layout.prop(st, "show_region_ui", text="File Path")
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.prop_menu_enum(params, "display_size")
|
||||
layout.prop_menu_enum(params, "recursion_level")
|
||||
|
||||
|
|
|
@ -5489,6 +5489,8 @@ static void rna_def_space_filebrowser(BlenderRNA *brna)
|
|||
RNA_def_struct_sdna(srna, "SpaceFile");
|
||||
RNA_def_struct_ui_text(srna, "Space File Browser", "File browser space data");
|
||||
|
||||
rna_def_space_generic_show_region_toggles(srna, (1 << RGN_TYPE_TOOLS) | (1 << RGN_TYPE_UI));
|
||||
|
||||
prop = RNA_def_property(srna, "params", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "params");
|
||||
RNA_def_property_ui_text(
|
||||
|
|
Loading…
Reference in New Issue