diff --git a/src/gui/AutomationEditor.cpp b/src/gui/AutomationEditor.cpp index 3a597e784..1593d1c82 100644 --- a/src/gui/AutomationEditor.cpp +++ b/src/gui/AutomationEditor.cpp @@ -36,6 +36,8 @@ #include #include #include +#include + #ifndef __USE_XOPEN @@ -1234,6 +1236,10 @@ inline void AutomationEditor::drawCross( QPainter & _p ) _p.drawLine( VALUES_WIDTH, (int) cross_y, width(), (int) cross_y ); _p.drawLine( mouse_pos.x(), TOP_MARGIN, mouse_pos.x(), height() - SCROLLBAR_SIZE ); + QPoint tt_pos = QCursor::pos(); + tt_pos.ry() -= 64; + tt_pos.rx() += 32; + QToolTip::showText( tt_pos,QString::number( level ),this); }