]> git.sesse.net Git - kdenlive/blobdiff - src/stopmotion/stopmotion.cpp
Fix buttons in capture monitor and crash when changing profile
[kdenlive] / src / stopmotion / stopmotion.cpp
index 6d4732778210c34edc2367e54c54b6bda8f44ca6..925585389c2aec2e95c7b18fec0d19512ef9e4de 100644 (file)
@@ -324,8 +324,7 @@ StopmotionWidget::StopmotionWidget(MonitorManager *manager, KUrl projectFolder,
 
 StopmotionWidget::~StopmotionWidget()
 {
-    /*if (m_bmCapture)
-        m_bmCapture->stopPreview();*/
+    m_manager->removeMonitor(m_monitor);
     if (m_captureDevice) {
         m_captureDevice->stop();
         delete m_captureDevice;