Fix reading grainline type.
This commit is contained in:
parent
9ac8323898
commit
14f6d525ac
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user