Commit e7091e00 authored by Nicolas Carion's avatar Nicolas Carion

safer error gestion in case of multiple resize

parent ac506287
......@@ -956,7 +956,12 @@ int TimelineModel::requestItemResize(int itemId, int size, bool right, bool logU
}
bool result = false;
for (int id : all_items) {
result = requestItemResize(id, size, right, logUndo, undo, redo);
result = result && requestItemResize(id, size, right, logUndo, undo, redo);
}
if (!result) {
bool undone = undo();
Q_ASSERT(undo());
return -1;
}
if (result && logUndo) {
if (isClip(itemId)) {
......
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