Commit 89eda27e authored by luyikei's avatar luyikei

Clip.qml: Rename isGrouped to grouped

parent 9e2b0c4e
...@@ -6,16 +6,16 @@ Menu { ...@@ -6,16 +6,16 @@ Menu {
title: "Edit" title: "Edit"
property var clip property var clip
property bool isGrouped property bool grouped
MenuItem { MenuItem {
text: isGrouped ? "Ungroup" : "Group" text: grouped ? "Ungroup" : "Group"
onTriggered: { onTriggered: {
if ( selectedClips.length <= 1 ) if ( selectedClips.length <= 1 )
return; return;
if ( isGrouped === true ) { if ( grouped === true ) {
removeGroup( clip.uuid ); removeGroup( clip.uuid );
} }
else { else {
...@@ -37,6 +37,6 @@ Menu { ...@@ -37,6 +37,6 @@ Menu {
} }
onAboutToShow: { onAboutToShow: {
isGrouped = findGroup( clip.uuid ); grouped = findGroup( clip.uuid );
} }
} }
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