Commit 8ac18afe authored by Till Theato's avatar Till Theato
Browse files

- Fix crash when redoing group move

- Fix group resize from start after undoing a group move

svn path=/trunk/kdenlive/; revision=4748
parent 24ee80b1
......@@ -4135,9 +4135,14 @@ void CustomTrackView::moveGroup(QList <ItemInfo> startClip, QList <ItemInfo> sta
m_document->renderer()->mltAddTransition(tr->transitionTag(), newTrack, m_document->tracksCount() - info.track, info.startPos, info.endPos, tr->toXML());
}
}
if (!reverseMove)
rebuildGroup(m_selectionGroup);
resetSelectionGroup(false);
for (int i = 0; i < children.count(); i++) {
if (children.at(i)->parentItem())
rebuildGroup((AbstractGroupItem*)children.at(i)->parentItem());
}
KdenliveSettings::setSnaptopoints(snap);
m_document->renderer()->doRefresh();
} else kDebug() << "///////// WARNING; NO GROUP TO MOVE";
......
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