Commit 27d9e692 authored by luyikei's avatar luyikei

ClipContextMenu.qml: Don't use property binding on isGrouped

parent 1f6d02d8
......@@ -6,12 +6,11 @@ Menu {
title: "Edit"
property string uuid
property bool isGrouped
MenuItem {
text: isGrouped ? "Ungroup" : "Group"
property bool isGrouped: findGroup( uuid )
onTriggered: {
if ( selectedClips.length <= 1 )
return;
......@@ -26,7 +25,10 @@ Menu {
}
addGroup( l );
}
isGrouped = Qt.binding( function(){ return findGroup( uuid ); } );
}
}
onAboutToShow: {
isGrouped = findGroup( 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