Skip to content

Commit

Permalink
CriticalPowerWindow - refresh after Linear scale option change
Browse files Browse the repository at this point in the history
  • Loading branch information
amtriathlon committed Jan 12, 2018
1 parent 7db9946 commit 6b1f3f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Charts/CriticalPowerWindow.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -1783,6 +1783,9 @@ void
CriticalPowerWindow::showCSLinearChanged(int state) CriticalPowerWindow::showCSLinearChanged(int state)
{ {
cpPlot->showXAxisLinear(state); cpPlot->showXAxisLinear(state);

// redraw
if (rangemode) dateRangeChanged(DateRange());
} }


void void
Expand Down

0 comments on commit 6b1f3f4

Please sign in to comment.