Skip to content

Commit

Permalink
Fixup date range selection on trend view
Browse files Browse the repository at this point in the history
.. broken in part 2 of the perspectives updates.
  • Loading branch information
liversedge committed Jun 22, 2021
1 parent 58c8b98 commit e448aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/TabView.cpp
Expand Up @@ -705,7 +705,7 @@ TabView::perspectiveSelected(int index)
for(int i = 0; i < page_->charts.count(); i++) {

page_->charts[i]->setProperty("ride", QVariant::fromValue<RideItem*>(notconst));
page_->charts[i]->setProperty("dateRange", property("dateRange"));
page_->charts[i]->setProperty("dateRange", QVariant::fromValue<DateRange>(context->currentDateRange()));
if (page_->currentStyle != 0) page_->charts[i]->show();
}

Expand Down

0 comments on commit e448aa1

Please sign in to comment.