FCurve: use submenus rather then popups from menus
authorCampbell Barton <ideasman42@gmail.com>
Wed, 14 May 2014 04:01:36 +0000 (14:01 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 14 May 2014 04:01:36 +0000 (14:01 +1000)
release/scripts/startup/bl_ui/space_graph.py

index 353c689b484b6f0818eb081878dd02fadd7315a2..3d39234ce089295faa0aced1cf8e435879e4388e 100644 (file)
@@ -214,8 +214,8 @@ class GRAPH_MT_key(Menu):
         layout.operator_menu_enum("graph.mirror", "type", text="Mirror")
 
         layout.separator()
-        layout.operator("graph.keyframe_insert")
-        layout.operator("graph.fmodifier_add")
+        layout.operator_menu_enum("graph.keyframe_insert", "type")
+        layout.operator_menu_enum("graph.fmodifier_add", "type")
         layout.operator("graph.sound_bake")
 
         layout.separator()