Commit 0ca2d507 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle

Merge branch '2008'

parents 665bfe92 5f37ff2e
Pipeline #33617 failed with stage
in 16 minutes and 50 seconds
......@@ -229,7 +229,7 @@ bool ClipModel::requestResize(int size, bool right, Fun &undo, Fun &redo, bool l
QModelIndex ix = ptr->makeClipIndexFromID(m_id);
ptr->notifyChange(ix, ix, roles);
// invalidate timeline preview
if (logUndo) {
if (logUndo && !ptr->getTrackById_const(m_currentTrackId)->isAudioTrack()) {
if (right) {
int newOut = m_position + getOut() - getIn();
if (oldOut < newOut) {
......@@ -275,7 +275,7 @@ bool ClipModel::requestResize(int size, bool right, Fun &undo, Fun &redo, bool l
if (auto ptr = m_parent.lock()) {
QModelIndex ix = ptr->makeClipIndexFromID(m_id);
ptr->notifyChange(ix, ix, roles);
if (logUndo) {
if (logUndo && !ptr->getTrackById_const(m_currentTrackId)->isAudioTrack()) {) {
if (right) {
int newOut = m_position + getOut() - getIn();
if (oldOut < newOut) {
......
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