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

Fix crash dropping an effect on the clip monitor

parent aa45a7fb
Pipeline #181111 passed with stage
in 11 minutes and 9 seconds
......@@ -476,7 +476,7 @@ void MonitorProxy::addEffect(const QString &effectData, const QString &effectSou
QStringList effectInfo = effectSource.split(QLatin1Char('-'));
if (m_clipId > -1) {
pCore->bin()->slotAddEffect(QString::number(m_clipId), effectInfo);
QMetaObject::invokeMethod(pCore->bin(), "slotAddEffect", Qt::QueuedConnection, Q_ARG(QString, QString::number(m_clipId)), Q_ARG(QStringList, effectInfo));
} else {
// Dropped in project monitor
emit addTimelineEffect(effectInfo);
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