Commit 426413da authored by luyikei's avatar luyikei

ClipContextMenu.qml: Don't enable linking or unlinkig option if less than two clips are selected

parent 003cddcd
......@@ -31,6 +31,7 @@ Menu {
}
MenuItem {
id: linkOrUnlink
text: linked ? "Unlink" : "Link"
onTriggered: {
......@@ -77,6 +78,7 @@ Menu {
onAboutToShow: {
linked = clip.linked();
grouped = findGroup( clip.uuid );
linkOrUnlink.enabled = selectedClips.length > 1
}
MenuSeparator { }
......
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