]> git.sesse.net Git - kdenlive/blobdiff - src/markerdialog.cpp
Fix crash on rendering with some project profiles:http://kdenlive.org/mantis/view...
[kdenlive] / src / markerdialog.cpp
index 5846662f56104bf8e62765a4779d4659516032a3..3402fb2b5fe3140a2a536295431297bf75036345 100644 (file)
@@ -93,7 +93,7 @@ MarkerDialog::MarkerDialog(DocClipBase *clip, CommentedTime t, Timecode tc, cons
             clip_thumb->setFixedHeight(p.height());
             clip_thumb->setPixmap(p);
         }
-        connect(m_in, SIGNAL(editingFinished()), this, SIGNAL(updateThumb()));
+        connect(m_in, SIGNAL(timeCodeEditingFinished()), this, SIGNAL(updateThumb()));
     } else {
         clip_thumb->setHidden(true);
     }
@@ -128,6 +128,7 @@ void MarkerDialog::slotUpdateThumb()
 
 CommentedTime MarkerDialog::newMarker()
 {
+    KdenliveSettings::setDefault_marker_type(marker_type->currentIndex());
     return CommentedTime(m_in->gentime(), marker_comment->text(), marker_type->currentIndex());
 }