X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcustomruler.cpp;h=eb1682a25fec07e4825a3055a3fa181f39676d5e;hb=5063de5d8134ee4b0cc6caa7a80f3e35a29bedab;hp=8a9526931ae3517c81c02d8a61d9984e53c20e81;hpb=cf96b357df6458f9c800270879517dee2755097d;p=kdenlive diff --git a/src/customruler.cpp b/src/customruler.cpp index 8a952693..eb1682a2 100644 --- a/src/customruler.cpp +++ b/src/customruler.cpp @@ -108,6 +108,7 @@ void CustomRuler::slotDeleteGuide() void CustomRuler::slotGoToGuide(QAction *act) { + m_view->setCursorPos(act->data().toInt(), true); m_view->initCursorPos(act->data().toInt()); } @@ -341,7 +342,7 @@ void CustomRuler::paintEvent(QPaintEvent *e) double f, fend; const int offsetmax = maxval * FRAME_SIZE; - p.setPen(palette().dark().color()); + p.setPen(palette().text().color()); // draw time labels int offsetmin = (e->rect().left() + m_offset) / m_textSpacing;