Values for waist and hip swapped for individual measurements.

This commit is contained in:
Roman Telezhynskyi 2021-02-03 17:17:43 +02:00
parent 82da9fc935
commit 29582687e5
3 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,6 @@
# Version 0.7.44 (unreleased) # Version 0.7.44 (unreleased)
- Placeholder %size% has incorrect value. - Placeholder %size% has incorrect value.
- Values for waist and hip swapped for individual measurements.
# Version 0.7.43 Jan 31, 2021 # Version 0.7.43 Jan 31, 2021
- Improve Windows installer. Avoid crashing on checking if a program is still running. - Improve Windows installer. Avoid crashing on checking if a program is still running.

View File

@ -2142,10 +2142,10 @@ void MainWindow::StoreIndividualMDimensions()
qApp->SetDimensionSize(valid ? *measurements.value(name)->GetValue() : 0); qApp->SetDimensionSize(valid ? *measurements.value(name)->GetValue() : 0);
break; break;
case IMD::W: case IMD::W:
qApp->SetDimensionHip(valid ? *measurements.value(name)->GetValue() : 0); qApp->SetDimensionWaist(valid ? *measurements.value(name)->GetValue() : 0);
break; break;
case IMD::Z: case IMD::Z:
qApp->SetDimensionWaist(valid ? *measurements.value(name)->GetValue() : 0); qApp->SetDimensionHip(valid ? *measurements.value(name)->GetValue() : 0);
break; break;
case IMD::N: case IMD::N:
default: default:

View File

@ -1096,9 +1096,9 @@ QString VMeasurements::IMDName(IMD type)
case IMD::Y: case IMD::Y:
return tr("Size"); return tr("Size");
case IMD::W: case IMD::W:
return tr("Hip");
case IMD::Z:
return tr("Waist"); return tr("Waist");
case IMD::Z:
return tr("Hip");
default: default:
return QString(); return QString();
} }