Fix menu search referencing image menu

In this case it was called mask which wasn't correct since it's
used for image & UV's, so rename the menu instead.
This commit is contained in:
Campbell Barton 2020-04-09 22:55:47 +10:00
parent 98abcfdb9d
commit a7df9d6cdd
1 changed files with 4 additions and 4 deletions

View File

@ -703,7 +703,7 @@ class IMAGE_HT_header(Header):
layout.prop(tool_settings, "uv_select_mode", text="", expand=True)
layout.prop(uvedit, "sticky_select_mode", icon_only=True)
MASK_MT_editor_menus.draw_collapsible(context, layout)
IMAGE_MT_editor_menus.draw_collapsible(context, layout)
layout.separator_spacer()
@ -749,8 +749,8 @@ class IMAGE_HT_header(Header):
row.operator("image.play_composite", icon='PLAY')
class MASK_MT_editor_menus(Menu):
bl_idname = "MASK_MT_editor_menus"
class IMAGE_MT_editor_menus(Menu):
bl_idname = "IMAGE_MT_editor_menus"
bl_label = ""
def draw(self, context):
@ -1465,7 +1465,7 @@ classes = (
IMAGE_MT_uvs_snap_pie,
IMAGE_HT_tool_header,
IMAGE_HT_header,
MASK_MT_editor_menus,
IMAGE_MT_editor_menus,
IMAGE_PT_active_tool,
IMAGE_PT_mask,
IMAGE_PT_mask_layers,