mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 11:45:53 +01:00
Fixed elevation source selection logic
This commit is contained in:
parent
1bbc57173e
commit
aec052edaf
@ -74,8 +74,8 @@ GraphPair Route::elevation() const
|
|||||||
} else {
|
} else {
|
||||||
Graph gps(gpsElevation());
|
Graph gps(gpsElevation());
|
||||||
return (gps.isEmpty())
|
return (gps.isEmpty())
|
||||||
? GraphPair(gps, _show2ndElevation ? demElevation() : Graph())
|
? GraphPair(demElevation(), Graph())
|
||||||
: GraphPair(demElevation(), Graph());
|
: GraphPair(gps, _show2ndElevation ? demElevation() : Graph());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user