Let user disable hovering on allplot

.. it irks some people.
This commit is contained in:
Mark Liversedge
2015-01-21 08:13:51 +00:00
parent ca34011082
commit 35bb937dc5
3 changed files with 17 additions and 3 deletions

View File

@@ -6471,8 +6471,8 @@ AllPlot::pointHover(QwtPlotCurve *curve, int index)
//replot();
}
// we have intervals selected so no need to mouse over
if (context->athlete->intervalWidget->selectedItems().count()) return;
// we don't want hoveing or we have intervals selected so no need to mouse over
if (!window->showHover->isChecked() || context->athlete->intervalWidget->selectedItems().count()) return;
if (!context->isCompareIntervals && rideItem && rideItem->ride()) {