mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 00:49:55 +00:00
UI Nits: LTM add chart use a default date range
When adding a chart to the home view no date range is set. This update ensures that the last selected date range is used, so when a chart is selected/configured some data will be shown.
This commit is contained in:
@@ -1128,6 +1128,7 @@ MainWindow::dateRangeChangedDiary(DateRange dr)
|
||||
// when we have multiple sidebars that change date we need to connect
|
||||
// them up individually.... i.e. LTM....
|
||||
diaryWindow->setProperty("dateRange", QVariant::fromValue<DateRange>(dr));
|
||||
_dr = dr;
|
||||
}
|
||||
|
||||
void
|
||||
@@ -1137,6 +1138,7 @@ MainWindow::dateRangeChangedLTM(DateRange dr)
|
||||
// when we have multiple sidebars that change date we need to connect
|
||||
// them up individually.... i.e. LTM....
|
||||
homeWindow->setProperty("dateRange", QVariant::fromValue<DateRange>(dr));
|
||||
_dr = dr;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user