Fix reading grainline type.

This commit is contained in:
Roman Telezhynskyi 2023-10-12 16:10:47 +03:00
parent 9ac8323898
commit 14f6d525ac

View File

@ -72,10 +72,10 @@ auto StrToGrainlineType(const QString &string) -> GrainlineType
case 0: // horizontal
type = GrainlineType::Horizontal;
break;
case 2: // vertical
case 1: // vertical
type = GrainlineType::Vertical;
break;
case 3: // notFixed
case 2: // notFixed
default:
type = GrainlineType::NotFixed;
break;