Skip to content

Commit

Permalink
Fixed RideSummary refresh when selected ride changes while not visible
Browse files Browse the repository at this point in the history
Fixes #2170
  • Loading branch information
amtriathlon committed Nov 1, 2016
1 parent 21fd8a6 commit 887c060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Charts/RideSummaryWindow.cpp
Expand Up @@ -247,8 +247,8 @@ RideSummaryWindow::rideSelected()
void
RideSummaryWindow::rideItemChanged()
{
// did it really change ?
if (!firstload && _connected == myRideItem) return;
// did it really change while visible ?
if (!firstload && _connected == myRideItem && !isVisible()) return;

// ignore intervals changed if not set?
justloaded = true;
Expand Down

0 comments on commit 887c060

Please sign in to comment.