Commit 7c45467a authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

fix frame timecode not updated in monitor overlay

parent 4892a85e
Pipeline #48487 passed with stage
in 11 minutes and 19 seconds
......@@ -444,7 +444,6 @@ Monitor::Monitor(Kdenlive::MonitorId id, MonitorManager *manager, QWidget *paren
m_toolbar->addAction(m_sceneVisibilityAction);
m_toolbar->addSeparator();
connect(m_timePos, &TimecodeDisplay::timeCodeUpdated, m_glMonitor->getControllerProxy(), &MonitorProxy::timecodeChanged);
m_toolbar->addWidget(m_timePos);
auto *configButton = new QToolButton(m_toolbar);
......
......@@ -387,6 +387,7 @@ const QString MonitorProxy::timecode() const
void MonitorProxy::setTimeCode(TimecodeDisplay *td)
{
m_td = td;
connect(m_td, &TimecodeDisplay::timeCodeUpdated, this, &MonitorProxy::timecodeChanged);
}
void MonitorProxy::setWidgetKeyBinding(const QString &text) const
......
......@@ -220,8 +220,8 @@ void TimecodeDisplay::setValue(int value)
}
m_value = value;
lineEdit()->setText(m_timecode.getTimecodeFromFrames(m_offset + value - m_minimum));
emit timeCodeUpdated();
}
emit timeCodeUpdated();
}
void TimecodeDisplay::setValue(const GenTime &value)
......
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