diff --git a/src/timeline2/model/timelinefunctions.cpp b/src/timeline2/model/timelinefunctions.cpp index f2fee1912f8960ed808b23c81eb40cf9fd290f8e..450201e277b38c988bff680bfbe38ccdad72fa62 100644 --- a/src/timeline2/model/timelinefunctions.cpp +++ b/src/timeline2/model/timelinefunctions.cpp @@ -246,7 +246,7 @@ bool TimelineFunctions::requestSpacerEndOperation(const std::shared_ptr undo = []() { return true; }; std::function 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) { diff --git a/src/timeline2/view/qml/Clip.qml b/src/timeline2/view/qml/Clip.qml index 49e832f44e2c31d780edd57f07c58a622bc7745f..7dee9ca0be335c4e14b1909fd266712d69cbdff8 100644 --- a/src/timeline2/view/qml/Clip.qml +++ b/src/timeline2/view/qml/Clip.qml @@ -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