Commit 17e85bcf authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix project duration not updated on bin clip deletion.

Fixes #1383
parent 3be2b286
Pipeline #156365 passed with stage
in 8 minutes and 26 seconds
......@@ -1816,7 +1816,7 @@ bool ProjectClip::selfSoftDelete(Fun &undo, Fun &redo)
}
if (auto timeline = clip.second.lock()) {
timeline->requestClipUngroup(clip.first, undo, redo);
timeline->requestItemDeletion(clip.first, undo, redo);
timeline->requestItemDeletion(clip.first, undo, redo, true);
} else {
qDebug() << "Error while deleting clip: timeline unavailable";
Q_ASSERT(false);
......
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