UI: Use icon for View in Graph Editor menu item

Use the Graph Editor icon for the "View in Graph Editor" operators,
to make a connection with the entry in the list of editors and the
View menu in the Dope Sheet.

Only use icon on the first item of the section, according to the HIG.
This commit is contained in:
Pablo Vazquez 2024-03-22 12:01:21 +01:00
parent ba3f37ac6b
commit 703435680d
1 changed files with 1 additions and 1 deletions

View File

@ -684,7 +684,7 @@ bool ui_popup_context_menu_for_button(bContext *C, uiBut *but, const wmEvent *ev
uiItemFullO_ptr(layout,
ot,
CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "View All in Graph Editor"),
ICON_NONE,
ICON_GRAPH,
nullptr,
WM_OP_INVOKE_DEFAULT,
UI_ITEM_NONE,