Fix effect crash introduced by previous commit

parent 50794859
......@@ -66,6 +66,7 @@ Monitor::Monitor(Kdenlive::MonitorId id, MonitorManager *manager, QWidget *paren
, m_recManager(NULL)
, m_loopClipAction(NULL)
, m_effectCompare(NULL)
, m_sceneVisibilityAction(NULL)
, m_contextMenu(NULL)
, m_selectedClip(NULL)
, m_loopClipTransition(true)
......@@ -1220,7 +1221,7 @@ void Monitor::slotShowEffectScene(bool show)
else if (m_rootItem && m_rootItem->objectName() == "rooteffectscene") {
loadMasterQml();
}
m_sceneVisibilityAction->setChecked(show);
if (m_sceneVisibilityAction) m_sceneVisibilityAction->setChecked(show);
}
void Monitor::slotSeekToKeyFrame()
......
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