Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Fix clip zone not set in clip monitor

parent b52212ea
......@@ -340,6 +340,12 @@ public:
m_zoneOut = out;
emit zoneChanged();
}
void setZone(QPoint zone)
{
m_zoneIn = zone.x();
m_zoneOut = zone.y();
emit zoneChanged();
}
QPoint zone() const { return QPoint(m_zoneIn, m_zoneOut); }
signals:
void seekPositionChanged();
......
......@@ -1365,6 +1365,7 @@ void Monitor::slotOpenClip(std::shared_ptr<ProjectClip> controller, int in, int
m_glMonitor->setRulerInfo(m_controller->frameDuration(), controller->getMarkerModel());
m_timePos->setRange(0, m_controller->frameDuration());
updateMarkers();
m_glMonitor->getControllerProxy()->setZone(m_controller->zone());
// Loading new clip / zone, stop if playing
if (m_playAction->isActive()) {
m_playAction->setActive(false);
......
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