lattice & UV 'select all' menu items were missing action assignment.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 18 Mar 2012 20:10:58 +0000 (20:10 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 18 Mar 2012 20:10:58 +0000 (20:10 +0000)
release/scripts/startup/bl_ui/space_clip.py
release/scripts/startup/bl_ui/space_image.py

index 4cd5cddba1107435043e3edbc5207e7a5147cd4d..9b7a30957900d445616950b97a4544d18b6f5d44 100644 (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")
index c0cc692f2f1913428bd9424283ba1bd8451e8880..c91f63cac8bd7ad82701312233b3485696c1d572 100644 (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")