From 8b354dcae4dbd1750cf37c954a88b7cf56cf01bd Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 14 Oct 2022 13:58:17 +0300 Subject: [PATCH] Puzzle: message "Invalid version: Max supported version 0.1.2" when opening 0.1.1 file in Val 0.7.52. Closes #187 --- ChangeLog.txt | 1 + src/libs/ifc/xml/vlayoutconverter.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index b01680149..19f0cf441 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -2,6 +2,7 @@ - Fix layout sheet export with empty name. - Fix visualization for tool Point from circle and tangent. - 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 - Fix crash when default locale is ru. diff --git a/src/libs/ifc/xml/vlayoutconverter.cpp b/src/libs/ifc/xml/vlayoutconverter.cpp index 3fd661221..4234dbad3 100644 --- a/src/libs/ifc/xml/vlayoutconverter.cpp +++ b/src/libs/ifc/xml/vlayoutconverter.cpp @@ -109,7 +109,7 @@ void VLayoutConverter::ApplyPatches() case (FormatVersion(0, 1, 0)): case (FormatVersion(0, 1, 1)): ToV0_1_2(); - ValidateXML(XSDSchema(FormatVersion(0, 1, 12))); + ValidateXML(XSDSchema(FormatVersion(0, 1, 2))); Q_FALLTHROUGH(); case (FormatVersion(0, 1, 2)): break;