Tape app. Fix crash after switching language.

This commit is contained in:
Roman Telezhynskyi 2022-05-28 17:17:01 +03:00
parent 6c4231955e
commit f4d0d4aa2e
2 changed files with 4 additions and 0 deletions

View file

@ -4,6 +4,7 @@
- Fix visualization for tool Point of intersection line and axis.
- Improved curve segment warnings.
- Tape app. Add action Add separator to menu.
- Tape app. Fix crash after switching language.
# Valentina 0.7.51 April 18, 2022
- Z value change for a layout piece.

View file

@ -415,6 +415,9 @@ void TMainWindow::FileNew()
DialogSetupMultisize setup(mUnit, this);
if (setup.exec() == QDialog::Rejected)
{
mUnit = Unit::Cm;
pUnit = mUnit;
mType = MeasurementsType::Individual;
return;
}