Puzzle: message "Invalid version: Max supported version 0.1.2" when opening 0.1.1 file in Val 0.7.52. Closes #187

This commit is contained in:
Roman Telezhynskyi 2022-10-14 13:58:17 +03:00
parent 4a89a0892f
commit 8b354dcae4
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
- Fix layout sheet export with empty name. - Fix layout sheet export with empty name.
- Fix visualization for tool Point from circle and tangent. - Fix visualization for tool Point from circle and tangent.
- Fix loading background image. - Fix loading background image.
- [smart-pattern/valentina#187] Puzzle: message "Invalid version: Max supported version 0.1.2" when opening 0.1.1 file in Val 0.7.52.
# Valentina 0.7.52 September 12, 2022 # Valentina 0.7.52 September 12, 2022
- Fix crash when default locale is ru. - Fix crash when default locale is ru.

View File

@ -109,7 +109,7 @@ void VLayoutConverter::ApplyPatches()
case (FormatVersion(0, 1, 0)): case (FormatVersion(0, 1, 0)):
case (FormatVersion(0, 1, 1)): case (FormatVersion(0, 1, 1)):
ToV0_1_2(); ToV0_1_2();
ValidateXML(XSDSchema(FormatVersion(0, 1, 12))); ValidateXML(XSDSchema(FormatVersion(0, 1, 2)));
Q_FALLTHROUGH(); Q_FALLTHROUGH();
case (FormatVersion(0, 1, 2)): case (FormatVersion(0, 1, 2)):
break; break;