Commit 8f21a725 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix freeze deleting a group with clips on locked tracks.

Fixes #331
parent 3275df92
Pipeline #6550 passed with stage
in 27 minutes and 48 seconds
......@@ -1611,7 +1611,7 @@ bool TimelineModel::requestGroupDeletion(int clipId, Fun &undo, Fun &redo)
for (int clip : all_items) {
bool res = requestClipDeletion(clip, undo, redo);
if (!res) {
undo();
// Undo is processed in requestClipDeletion
return 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