UI: Use icon in Dopesheet 'Toggle Graph Editor' menu item.
authorPablo Vazquez <contact@pablovazquez.art>
Mon, 11 Feb 2019 14:46:00 +0000 (15:46 +0100)
committerPablo Vazquez <contact@pablovazquez.art>
Mon, 11 Feb 2019 14:46:09 +0000 (15:46 +0100)
release/scripts/startup/bl_ui/space_dopesheet.py

index 0a2e9ca..5a75ddf 100644 (file)
@@ -354,7 +354,7 @@ class DOPESHEET_MT_view(Menu):
 
         # Add this to show key-binding (reverse action in dope-sheet).
         layout.separator()
-        props = layout.operator("wm.context_set_enum", text="Toggle Graph Editor")
+        props = layout.operator("wm.context_set_enum", text="Toggle Graph Editor", icon="GRAPH")
         props.data_path = "area.type"
         props.value = 'GRAPH_EDITOR'