UI: Add copy/paste icons to Sequencer context menu
authorWilliam Reynish <billrey@me.com>
Tue, 7 May 2019 19:12:22 +0000 (21:12 +0200)
committerWilliam Reynish <billrey@me.com>
Tue, 7 May 2019 19:12:22 +0000 (21:12 +0200)
release/scripts/startup/bl_ui/space_sequencer.py

index f483ada..830aba2 100644 (file)
@@ -606,8 +606,11 @@ class SEQUENCER_MT_context_menu(Menu):
 
         layout.operator_context = 'INVOKE_REGION_WIN'
 
-        layout.operator("sequencer.copy", text="Copy")
-        layout.operator("sequencer.paste", text="Paste")
+        layout.operator("sequencer.copy", text="Copy", icon='COPYDOWN')
+        layout.operator("sequencer.paste", text="Paste", icon='PASTEDOWN')
+
+        layout.separator()
+
         layout.operator("sequencer.duplicate_move")
         layout.operator("sequencer.delete", text="Delete...")
 
@@ -621,7 +624,6 @@ class SEQUENCER_MT_context_menu(Menu):
         layout.operator("sequencer.snap")
         layout.operator("sequencer.offset_clear")
 
-
         strip = act_strip(context)
 
         if strip: