Fix: Use submenu for GPencil -> Select Grouped
authorJoshua Leung <aligorith@gmail.com>
Fri, 26 Aug 2016 04:38:31 +0000 (16:38 +1200)
committerJoshua Leung <aligorith@gmail.com>
Fri, 26 Aug 2016 04:38:31 +0000 (16:38 +1200)
release/scripts/startup/bl_ui/space_view3d.py

index 5f16957b4355a395a96233cd3fe298e04e1690be..b9cb7f24ebdc71d6faa44728d7419be076a19427 100644 (file)
@@ -1000,8 +1000,7 @@ class VIEW3D_MT_select_gpencil(Menu):
         layout.operator("gpencil.select_all", text="(De)select All").action = 'TOGGLE'
         layout.operator("gpencil.select_all", text="Inverse").action = 'INVERT'
         layout.operator("gpencil.select_linked", text="Linked")
-        #layout.operator_menu_enum("gpencil.select_grouped", "type", text="Grouped")
-        layout.operator("gpencil.select_grouped", text="Grouped")
+        layout.operator_menu_enum("gpencil.select_grouped", "type", text="Grouped")
 
         layout.separator()