]> git.sesse.net Git - kdenlive/blobdiff - src/abstractclipitem.cpp
cleanup keyframe moving
[kdenlive] / src / abstractclipitem.cpp
index 39ed506de31e7d0e9780c113ae58c78f377a3022..a0f860f0351bc5ba0b6367000b50aac44c3a5ece 100644 (file)
@@ -271,7 +271,7 @@ void AbstractClipItem::drawKeyFrames(QPainter *painter, QRectF /*exposedRect*/)
     y1 = br.bottom() - i.value() * maxh;
     QLineF l2;
     while (i != m_keyframes.constEnd()) {
-        if (i.key() == m_selectedKeyframe) color = QColor(Qt::red);
+        if (i.key() == m_editedKeyframe) color = QColor(Qt::red);
         else color = QColor(Qt::blue);
         ++i;
         if (i == m_keyframes.constEnd() && m_keyframes.count() != 1) {