From 59dc7948c15d9158f655a653e23e38130f2f8b25 Mon Sep 17 00:00:00 2001 From: Paul Johnson Date: Mon, 13 Oct 2025 12:58:17 +0100 Subject: [PATCH] Switch perspective on Trends activity click thru Default perspective was always used in Analysis View before this change. Fixes #4714 --- src/Gui/AthleteTab.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Gui/AthleteTab.cpp b/src/Gui/AthleteTab.cpp index 17a67dc0c..da512c3df 100644 --- a/src/Gui/AthleteTab.cpp +++ b/src/Gui/AthleteTab.cpp @@ -189,14 +189,6 @@ AthleteTab::rideSelected(RideItem*) { emit rideItemSelected(context->ride); - // update the ride property on all widgets - // to let them know they need to replot new - // selected ride (now the tree is up to date) - setRide(context->ride); - - // notify that the intervals have been cleared too - context->notifyIntervalsChanged(); - // if we selected a ride we should be on the analysis // view-- this is new with the overview and click thru // coming in other charts but when navigation model is @@ -215,6 +207,14 @@ AthleteTab::rideSelected(RideItem*) selectView(1); } } + + // update the ride property on all widgets + // to let them know they need to replot new + // selected ride (now the tree is up to date) + setRide(context->ride); + + // notify that the intervals have been cleared too + context->notifyIntervalsChanged(); } ProgressLine::ProgressLine(QWidget *parent, Context *context) : QWidget(parent), context(context)