Fix broken spacer tool and thumbnails disappearing with razor and space tools

parent 4bc1aee3
......@@ -246,7 +246,7 @@ bool TimelineFunctions::requestSpacerEndOperation(const std::shared_ptr<Timeline
// Start undoable command
std::function<bool(void)> undo = []() { return true; };
std::function<bool(void)> redo = []() { return true; };
int res = timeline->requestClipsGroup(clips, undo, redo);
int res = timeline->requestClipsGroup(clips, undo, redo, GroupType::Selection);
bool final = false;
if (res > -1) {
if (clips.size() > 1) {
......
......@@ -236,10 +236,10 @@ Rectangle {
}
MouseArea {
id: mouseArea
visible: root.activeTool === 0
enabled: root.activeTool === 0
anchors.fill: clipRoot
acceptedButtons: Qt.RightButton
hoverEnabled: true
hoverEnabled: root.activeTool === 0
cursorShape: dragProxyArea.drag.active ? Qt.ClosedHandCursor : Qt.OpenHandCursor
onPressed: {
root.stopScrolling = true
......
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