UI: change the name of RGN_TYPE_UI in the enum to "Sidebar"

This is the term used in the interface, using this term means enum items
can be used in UI code without having to use a separate name mapping.
This commit is contained in:
Campbell Barton 2023-07-26 15:23:30 +10:00
parent 44b9fba9d2
commit 566118f7f1
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ const EnumPropertyItem rna_enum_region_type_items[] = {
{RGN_TYPE_HEADER, "HEADER", 0, "Header", ""},
{RGN_TYPE_CHANNELS, "CHANNELS", 0, "Channels", ""},
{RGN_TYPE_TEMPORARY, "TEMPORARY", 0, "Temporary", ""},
{RGN_TYPE_UI, "UI", 0, "UI", ""},
{RGN_TYPE_UI, "UI", 0, "Sidebar", ""},
{RGN_TYPE_TOOLS, "TOOLS", 0, "Tools", ""},
{RGN_TYPE_TOOL_PROPS, "TOOL_PROPS", 0, "Tool Properties", ""},
{RGN_TYPE_PREVIEW, "PREVIEW", 0, "Preview", ""},