@@ -590,7 +590,11 @@ def ShowClipMenu(self, clip_id=None):
590
590
# Show Copy All menu (clips and transitions are selected)
591
591
Copy_All = menu .addAction (_ ("Copy" ))
592
592
Copy_All .setShortcut (QKeySequence (self .window .getShortcutByName ("copyAll" )))
593
- Copy_All .triggered .connect (partial (self .Copy_Triggered , MenuCopy .ALL , clip_ids , tran_ids , []))
593
+ Copy_All .triggered .connect (self .window .copyAll )
594
+ # Show Cut All menu
595
+ Cut_All = menu .addAction (_ ("Cut" ))
596
+ Cut_All .setShortcut (QKeySequence (self .window .getShortcutByName ("cutAll" )))
597
+ Cut_All .triggered .connect (self .window .cutAll )
594
598
else :
595
599
# Only a single clip is selected (Show normal copy menus)
596
600
Copy_Menu = StyledContextMenu (title = _ ("Copy" ), parent = self )
@@ -632,6 +636,11 @@ def ShowClipMenu(self, clip_id=None):
632
636
Copy_Menu .addMenu (Keyframe_Menu )
633
637
menu .addMenu (Copy_Menu )
634
638
639
+ # Show Cut menu
640
+ Cut_All = menu .addAction (_ ("Cut" ))
641
+ Cut_All .setShortcut (QKeySequence (self .window .getShortcutByName ("cutAll" )))
642
+ Cut_All .triggered .connect (self .window .cutAll )
643
+
635
644
# Determine if the paste menu should be shown (for partial copied clip data)
636
645
if has_clipboard :
637
646
# Paste Menu (Only show if partial clipboard available)
@@ -2650,10 +2659,14 @@ def ShowTransitionMenu(self, tran_id=None):
2650
2659
2651
2660
# Copy Menu
2652
2661
if len (tran_ids ) + len (clip_ids ) > 1 :
2653
- # Copy All Menu (Clips and/or transitions are selected)
2662
+ # Show Copy All menu (clips and transitions are selected)
2654
2663
Copy_All = menu .addAction (_ ("Copy" ))
2655
2664
Copy_All .setShortcut (QKeySequence (self .window .getShortcutByName ("copyAll" )))
2656
- Copy_All .triggered .connect (partial (self .Copy_Triggered , MenuCopy .ALL , clip_ids , tran_ids , []))
2665
+ Copy_All .triggered .connect (self .window .copyAll )
2666
+ # Show Cut All menu
2667
+ Cut_All = menu .addAction (_ ("Cut" ))
2668
+ Cut_All .setShortcut (QKeySequence (self .window .getShortcutByName ("cutAll" )))
2669
+ Cut_All .triggered .connect (self .window .cutAll )
2657
2670
else :
2658
2671
# Only a single transitions is selected (show normal transition copy menu)
2659
2672
Copy_Menu = StyledContextMenu (title = _ ("Copy" ), parent = self )
@@ -2677,6 +2690,11 @@ def ShowTransitionMenu(self, tran_id=None):
2677
2690
Copy_Menu .addMenu (Keyframe_Menu )
2678
2691
menu .addMenu (Copy_Menu )
2679
2692
2693
+ # Show Cut menu
2694
+ Cut_All = menu .addAction (_ ("Cut" ))
2695
+ Cut_All .setShortcut (QKeySequence (self .window .getShortcutByName ("cutAll" )))
2696
+ Cut_All .triggered .connect (self .window .cutAll )
2697
+
2680
2698
# Determine if the paste menu should be shown
2681
2699
if has_clipboard :
2682
2700
# Paste Menu (Only show when partial transition clipboard available)
0 commit comments