mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
UI: Use icon in Dopesheet 'Toggle Graph Editor' menu item.
This commit is contained in:
parent
17ce9f61c3
commit
36aa8499e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue