Commit 373e1284 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Timeline: Use toolbar buttons to select tools

parent f15cd463
......@@ -21,7 +21,7 @@ Rectangle {
property var selectedClips: [] // Actual clip item objects
property var groups: [] // list of lists of clip uuids
property alias isMagneticMode: magneticModeButton.selected
property alias isCutMode: cutModeButton.selected
property bool isCutMode: false
property int trackHeight: 60
......@@ -482,12 +482,6 @@ Rectangle {
selected: true
}
PropertyButton {
id: cutModeButton
text: "C"
selected: false
}
PropertyButton {
id: zoomInButton
text: "+"
......@@ -650,6 +644,12 @@ Rectangle {
zoomIn( 2 );
scale = scaleLevel;
}
onCutToolSelected: {
isCutMode = true;
}
onSelectionToolSelected: {
isCutMode = false;
}
}
Connections {
......
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