Commit 1bfca966 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Show track effect stack when clicking on it's name

parent 61d2b850
...@@ -382,6 +382,7 @@ Rectangle { ...@@ -382,6 +382,7 @@ Rectangle {
nameEdit.selectAll() nameEdit.selectAll()
} }
onClicked: { onClicked: {
timeline.showTrackAsset(trackId)
trackHeadRoot.clicked() trackHeadRoot.clicked()
trackHeadRoot.focus = true trackHeadRoot.focus = true
} }
......
...@@ -796,7 +796,6 @@ Rectangle { ...@@ -796,7 +796,6 @@ Rectangle {
onClicked: { onClicked: {
timeline.activeTrack = tracksRepeater.itemAt(index).trackInternalId timeline.activeTrack = tracksRepeater.itemAt(index).trackInternalId
console.log('track name: ',index, ' = ', model.name,'/',tracksRepeater.itemAt(index).trackInternalId) console.log('track name: ',index, ' = ', model.name,'/',tracksRepeater.itemAt(index).trackInternalId)
//timeline.selectTrackHead(currentTrack)
} }
} }
} }
......
Supports Markdown
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