Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Remove clip context menu "cut" (was a duplicate of split at playhead)

Hide split audio/video if the clip is grouped
parent 5c54e758
......@@ -19,14 +19,6 @@ OLD.Menu {
text: i18n('Copy')
onTriggered: root.copiedClip = clipId
}
OLD.MenuItem {
visible: true
text: i18n('Cut')
onTriggered: {
console.log('cutting clip:', clipId)
timeline.requestClipCut(clipId, timeline.position)
}
}
OLD.MenuItem {
visible: !grouped && timeline.selection.length > 1
text: i18n('Group')
......@@ -49,12 +41,12 @@ OLD.Menu {
OLD.MenuItem {
text: i18n('Split Audio')
onTriggered: timeline.splitAudio(clipId)
visible: canBeAudio && clipStatus == ClipState.VideoOnly
visible: !grouped && canBeAudio && clipStatus == ClipState.VideoOnly
}
OLD.MenuItem {
text: i18n('Split Video')
onTriggered: timeline.splitVideo(clipId)
visible: canBeVideo && clipStatus == ClipState.AudioOnly
visible: !grouped && canBeVideo && clipStatus == ClipState.AudioOnly
}
OLD.MenuItem {
text: i18n('Remove')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment