UI: Add copy/paste icons to Graph and Dopesheet editor context menus

Consistent with others
This commit is contained in:
William Reynish 2019-05-07 20:52:41 +02:00
parent 0c0254018c
commit 9b4a57f74c
2 changed files with 6 additions and 6 deletions

View File

@ -565,9 +565,9 @@ class DOPESHEET_MT_context_menu(Menu):
def draw(self, _context):
layout = self.layout
layout.operator("action.copy", text="Copy")
layout.operator("action.paste", text="Paste")
layout.operator("action.paste", text="Paste Flipped").flipped = True
layout.operator("action.copy", text="Copy", icon='COPYDOWN')
layout.operator("action.paste", text="Paste", icon='PASTEDOWN')
layout.operator("action.paste", text="Paste Flipped", icon='PASTEFLIPDOWN').flipped = True
layout.separator()

View File

@ -328,9 +328,9 @@ class GRAPH_MT_context_menu(Menu):
def draw(self, _context):
layout = self.layout
layout.operator("graph.copy", text="Copy")
layout.operator("graph.paste", text="Paste")
layout.operator("graph.paste", text="Paste Flipped").flipped = True
layout.operator("graph.copy", text="Copy", icon='COPYDOWN')
layout.operator("graph.paste", text="Paste", icon='PASTEDOWN')
layout.operator("graph.paste", text="Paste Flipped", icon='PASTEFLIPDOWN').flipped = True
layout.separator()