mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-16 01:19:57 +00:00
Fix RideFile::getWeight() Withings bug
.. the update in commit 53871e9 inadvertently broke
withings weight being used.
This commit is contained in:
@@ -1064,7 +1064,7 @@ RideFile::getWeight()
|
||||
int i = measures.count()-1;
|
||||
if (i) {
|
||||
while (i>=0) {
|
||||
if ((weight_ = measures[i].getText("Weight", "0.0").toDouble()) > 0) {
|
||||
if ((weight_ = measures[i].getText("Weight_m", "0.0").toDouble()) > 0) {
|
||||
return weight_;
|
||||
}
|
||||
i--;
|
||||
|
||||
Reference in New Issue
Block a user