Commit 246682a0 authored by Julius Künzel's avatar Julius Künzel 💬
Browse files

Fix wrong timecode offset in keyframewidget of transitions

BUG: 439748
FIXED-IN: 22.08.2
parent 505a09f8
Pipeline #235471 passed with stage
in 5 minutes and 29 seconds
......@@ -114,7 +114,6 @@ KeyframeWidget::KeyframeWidget(std::shared_ptr<AssetParameterModel> model, QMode
m_time = new TimecodeDisplay(pCore->timecode(), this);
m_time->setRange(0, duration - 1);
m_time->setOffset(m_model->data(index, AssetParameterModel::ParentInRole).toInt());
m_toolbar->addAction(previousKFAction);
m_toolbar->addAction(m_addDeleteAction);
......@@ -466,7 +465,6 @@ void KeyframeWidget::slotRefresh()
m_keyframeview->setDuration(duration);
m_time->setRange(0, duration - 1);
m_time->setOffset(in);
if (m_model->monitorId == Kdenlive::ProjectMonitor) {
monitorSeek(pCore->getTimelinePosition());
} else {
......@@ -495,7 +493,6 @@ void KeyframeWidget::resetKeyframes()
// m_model->dataChanged(QModelIndex(), QModelIndex());
m_keyframeview->setDuration(duration);
m_time->setRange(0, duration - 1);
m_time->setOffset(in);
slotRefreshParams();
}
......
Supports Markdown
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