diff --git a/src/Charts/ChartBar.cpp b/src/Charts/ChartBar.cpp index 00c2c705d..bf256fa71 100644 --- a/src/Charts/ChartBar.cpp +++ b/src/Charts/ChartBar.cpp @@ -465,15 +465,23 @@ ChartBarItem::paintEvent(QPaintEvent *) if (checked) painter.fillRect(QRect(0,0,geometry().width(), 3*dpiXFactor), QBrush(GColor(CPLOTMARKER))); // draw the menu indicator - if (underMouse() && checked) { + if (underMouse()) { QPoint mouse = mapFromGlobal(QCursor::pos()); - QBrush brush(Qt::darkGray); painter.setPen (Qt :: NoPen); - // different color if under mouse - if (hotspot.contains(mouse)) brush.setColor(GColor(CPLOTMARKER)); - painter.fillPath (triangle, brush); + if (checked) { + + // different color if under mouse + QBrush brush(Qt::darkGray); + if (hotspot.contains(mouse)) brush.setColor(GColor(CPLOTMARKER)); + painter.fillPath (triangle, brush); + } else { + + // visual clue there is a menu option when tab selected + QBrush brush(Qt::lightGray); + painter.fillPath (triangle, brush); + } } painter.restore(); }