lattice & UV 'select all' menu items were missing action assignment.

This commit is contained in:
Campbell Barton
2012-03-18 20:10:58 +00:00
parent 2635d78ec1
commit 9db821a5db
2 changed files with 2 additions and 3 deletions

View File

@@ -985,8 +985,7 @@ class CLIP_MT_select(Menu):
layout.separator()
props = layout.operator("clip.select_all")
props.action = 'TOGGLE'
layout.operator("clip.select_all").action = 'TOGGLE'
layout.operator("clip.select_all", text="Inverse").action = 'INVERT'
layout.menu("CLIP_MT_select_grouped")

View File

@@ -97,7 +97,7 @@ class IMAGE_MT_select(Menu):
layout.separator()
layout.operator("uv.select_all")
layout.operator("uv.select_all").action = 'TOGGLE'
layout.operator("uv.select_all", text="Inverse").action = 'INVERT'
layout.operator("uv.unlink_selected")