Switch perspective on Trends activity click thru

Default perspective was always used in Analysis View before this change.
Fixes #4714
This commit is contained in:
Paul Johnson
2025-10-13 12:58:17 +01:00
committed by Alejandro Martinez
parent 9a3ca625d6
commit 59dc7948c1

View File

@@ -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)