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

Fix crash changing clip monitor bg color when no clip is selected

parent 057b23cd
Pipeline #181550 passed with stage
in 7 minutes and 27 seconds
......@@ -689,6 +689,9 @@ void Monitor::slotForceSize(QAction *a)
void Monitor::buildBackgroundedProducer(int pos)
{
if (m_controller == nullptr) {
return;
}
if (KdenliveSettings::monitor_background() != "black") {
Mlt::Tractor trac(pCore->getCurrentProfile()->profile());
QString color = QString("color:%1").arg(KdenliveSettings::monitor_background());
......
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