UI: add entry to show/hide tool settings bar to the View menu

This commit is contained in:
2019-05-20 15:34:45 +02:00
parent eec47f284a
commit 7a2b20349a
3 changed files with 3 additions and 1 deletions

View File

@@ -81,6 +81,7 @@ class IMAGE_MT_view(Menu):
layout.prop(sima, "show_region_toolbar")
layout.prop(sima, "show_region_ui")
layout.prop(view, "show_region_tool_header")
layout.prop(sima, "show_region_hud")
layout.separator()

View File

@@ -954,6 +954,7 @@ class VIEW3D_MT_view(Menu):
layout.prop(view, "show_region_toolbar")
layout.prop(view, "show_region_ui")
layout.prop(view, "show_region_tool_header")
layout.prop(view, "show_region_hud")
layout.separator()

View File

@@ -2484,7 +2484,7 @@ static void rna_def_space_generic_show_region_toggles(StructRNA *srna, int regio
if (region_type_mask & (1 << RGN_TYPE_TOOL_HEADER)) {
region_type_mask &= ~(1 << RGN_TYPE_TOOL_HEADER);
DEF_SHOW_REGION_PROPERTY(show_region_tool_header, "Tool Header", "");
DEF_SHOW_REGION_PROPERTY(show_region_tool_header, "Tool Settings", "");
}
if (region_type_mask & (1 << RGN_TYPE_HEADER)) {
region_type_mask &= ~(1 << RGN_TYPE_HEADER);