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)
- 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
- 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);
break;
case IMD::W:
qApp->SetDimensionHip(valid ? *measurements.value(name)->GetValue() : 0);
qApp->SetDimensionWaist(valid ? *measurements.value(name)->GetValue() : 0);
break;
case IMD::Z:
qApp->SetDimensionWaist(valid ? *measurements.value(name)->GetValue() : 0);
qApp->SetDimensionHip(valid ? *measurements.value(name)->GetValue() : 0);
break;
case IMD::N:
default:

View File

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