Fix left resize

parent 89bf4d94
......@@ -981,11 +981,7 @@ bool TimelineModel::requestItemResize(int itemId, int size, bool right, bool log
Q_ASSERT(isClip(itemId) || isComposition(itemId));
if (getItemTrackId(itemId) != -1) {
QModelIndex modelIndex = isClip(itemId) ? makeClipIndexFromID(itemId) : makeCompositionIndexFromID(itemId);
if (right) {
notifyChange(modelIndex, modelIndex, false, true, logUndo);
} else {
notifyChange(modelIndex, modelIndex, true, false, logUndo);
}
notifyChange(modelIndex, modelIndex, !right, true, logUndo);
}
return true;
};
......
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