diff options
author | William Reynish <billrey@me.com> | 2019-05-07 21:52:41 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-05-07 21:52:41 +0300 |
commit | 9b4a57f74cb2a089756637d124b87806e0b05e8b (patch) | |
tree | 757032746df415ced828fbfa40cd349cc828a9ee /release | |
parent | 0c0254018c64365630b6b6fab069d2d0499c8c96 (diff) |
UI: Add copy/paste icons to Graph and Dopesheet editor context menus
Consistent with others
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_dopesheet.py | 6 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_graph.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_ui/space_dopesheet.py b/release/scripts/startup/bl_ui/space_dopesheet.py index af6a0c4c582..d7aa593210c 100644 --- a/release/scripts/startup/bl_ui/space_dopesheet.py +++ b/release/scripts/startup/bl_ui/space_dopesheet.py @@ -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() diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py index b71c0582dd9..445f6a3fe3d 100644 --- a/release/scripts/startup/bl_ui/space_graph.py +++ b/release/scripts/startup/bl_ui/space_graph.py @@ -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() |