Fix spacer / remove space with only 1 clip. Fixes #162

parent baf386fb
......@@ -248,7 +248,7 @@ bool TimelineFunctions::requestSpacerEndOperation(const std::shared_ptr<Timeline
std::function<bool(void)> redo = []() { return true; };
int res = timeline->requestClipsGroup(clips, undo, redo, GroupType::Selection);
bool final = false;
if (res > -1) {
if (res > -1 || clips.size() == 1) {
if (clips.size() > 1) {
final = timeline->requestGroupMove(itemId, res, 0, endPosition - startPosition, true, true, undo, redo);
} else {
......
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