diff options
Diffstat (limited to 'doc/python_api/examples/bpy.types.Panel.1.py')
-rw-r--r-- | doc/python_api/examples/bpy.types.Panel.1.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/python_api/examples/bpy.types.Panel.1.py b/doc/python_api/examples/bpy.types.Panel.1.py index ab32a043706..cd85d30cea0 100644 --- a/doc/python_api/examples/bpy.types.Panel.1.py +++ b/doc/python_api/examples/bpy.types.Panel.1.py @@ -34,9 +34,9 @@ class ObjectSelectPanel(bpy.types.Panel): box = layout.box() box.label("Selection Tools") - box.operator("object.select_all") + box.operator("object.select_all").action = 'TOGGLE' row = box.row() - row.operator("object.select_inverse") + row.operator("object.select_all").action = 'INVERT' row.operator("object.select_random") |