Skip to content
Snippets Groups Projects
Commit 426413da authored by luyikei's avatar luyikei
Browse files

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

parent 003cddcd
No related branches found
No related tags found
No related merge requests found
......@@ -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 { }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment