mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
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:
committed by
Alejandro Martinez
parent
9a3ca625d6
commit
59dc7948c1
@@ -189,14 +189,6 @@ AthleteTab::rideSelected(RideItem*)
|
|||||||
{
|
{
|
||||||
emit rideItemSelected(context->ride);
|
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
|
// if we selected a ride we should be on the analysis
|
||||||
// view-- this is new with the overview and click thru
|
// view-- this is new with the overview and click thru
|
||||||
// coming in other charts but when navigation model is
|
// coming in other charts but when navigation model is
|
||||||
@@ -215,6 +207,14 @@ AthleteTab::rideSelected(RideItem*)
|
|||||||
selectView(1);
|
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)
|
ProgressLine::ProgressLine(QWidget *parent, Context *context) : QWidget(parent), context(context)
|
||||||
|
|||||||
Reference in New Issue
Block a user