Commit 97e1fc1a authored by Till Theato's avatar Till Theato
Browse files

Fix group not being updated after undoing resize

svn path=/trunk/kdenlive/; revision=4598
parent 3ea13576
......@@ -4058,6 +4058,11 @@ void CustomTrackView::prepareResizeClipStart(AbstractClipItem* item, ItemInfo ol
}
KdenliveSettings::setSnaptopoints(snap);
}
// do this here, too, because otherwise undo won't update the group
if (item->parentItem() && item->parentItem() != m_selectionGroup)
new RebuildGroupCommand(this, item->info().track, item->info().startPos, command);
ItemInfo info = item->info();
if (item->type() == AVWIDGET) {
ItemInfo resizeinfo = oldInfo;
......@@ -4170,6 +4175,11 @@ void CustomTrackView::prepareResizeClipEnd(AbstractClipItem* item, ItemInfo oldI
}
KdenliveSettings::setSnaptopoints(snap);
}
// do this here, too, because otherwise undo won't update the group
if (item->parentItem() && item->parentItem() != m_selectionGroup)
new RebuildGroupCommand(this, item->info().track, item->info().startPos, command);
ItemInfo info = item->info();
if (item->type() == AVWIDGET) {
ItemInfo resizeinfo = info;
......
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