]> git.sesse.net Git - kdenlive/blobdiff - src/addmarkercommand.cpp
improve marker editing
[kdenlive] / src / addmarkercommand.cpp
index 9055fcb53dacf9eb44be93db771c7ae11e0c7860..f4c47421648e77def3a068c24b0f23859ed45b64 100644 (file)
@@ -21,7 +21,8 @@
 
 AddMarkerCommand::AddMarkerCommand(CustomTrackView *view, const QString &oldcomment, const QString &comment, const int id, const GenTime &pos, bool doIt) : m_view(view), m_oldcomment(oldcomment), m_comment(comment), m_id(id), m_pos(pos), m_doIt(doIt) {
     if (m_comment.isEmpty()) setText(i18n("Delete marker"));
-    else setText(i18n("Add marker"));
+    else if (m_oldcomment.isEmpty()) setText(i18n("Add marker"));
+    else setText(i18n("Edit marker"));
 }