Placeholder %size% has incorrect value.
This commit is contained in:
parent
42e5c0be5b
commit
4376b9ab48
|
@ -1,3 +1,6 @@
|
|||
# Version 0.7.44 (unreleased)
|
||||
- Placeholder %size% has incorrect value.
|
||||
|
||||
# Version 0.7.43 Sun 31, 2021
|
||||
- Improve Windows installer. Avoid crashing on checking if a program is still running.
|
||||
- Fix regression. Changing dimension value caused an infinite loop.
|
||||
|
|
|
@ -2086,7 +2086,7 @@ void MainWindow::StoreMultisizeMDimensions()
|
|||
{
|
||||
if (dimensions.size() > index)
|
||||
{
|
||||
MeasurementDimension_p dimension = dimensions.at(index);
|
||||
const MeasurementDimension_p& dimension = dimensions.at(index);
|
||||
|
||||
switch(dimension->Type())
|
||||
{
|
||||
|
@ -2102,11 +2102,15 @@ void MainWindow::StoreMultisizeMDimensions()
|
|||
break;
|
||||
}
|
||||
case MeasurementDimension::W:
|
||||
Q_FALLTHROUGH();
|
||||
{
|
||||
const bool fc = m->IsFullCircumference();
|
||||
qApp->SetDimensionWaist(fc ? currentBase*2 : currentBase);
|
||||
break;
|
||||
}
|
||||
case MeasurementDimension::Z:
|
||||
{
|
||||
const bool fc = m->IsFullCircumference();
|
||||
qApp->SetDimensionSize(fc ? currentBase*2 : currentBase);
|
||||
qApp->SetDimensionHip(fc ? currentBase*2 : currentBase);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue
Block a user