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

Fix crash dropping an effect on the clip monitor

parent 006c7a17
......@@ -471,7 +471,7 @@ void MonitorProxy::addEffect(const QString &effectData, const QString &effectSou
QStringList effectInfo = effectSource.split(QLatin1Char('-'));
effectInfo.prepend(effectData);
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