mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-27 03:29:16 +02:00
Fixed elevation source selection logic
This commit is contained in:
@ -74,8 +74,8 @@ GraphPair Route::elevation() const
|
||||
} else {
|
||||
Graph gps(gpsElevation());
|
||||
return (gps.isEmpty())
|
||||
? GraphPair(gps, _show2ndElevation ? demElevation() : Graph())
|
||||
: GraphPair(demElevation(), Graph());
|
||||
? GraphPair(demElevation(), Graph())
|
||||
: GraphPair(gps, _show2ndElevation ? demElevation() : Graph());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user