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
|
case 0: // horizontal
|
||||||
type = GrainlineType::Horizontal;
|
type = GrainlineType::Horizontal;
|
||||||
break;
|
break;
|
||||||
case 2: // vertical
|
case 1: // vertical
|
||||||
type = GrainlineType::Vertical;
|
type = GrainlineType::Vertical;
|
||||||
break;
|
break;
|
||||||
case 3: // notFixed
|
case 2: // notFixed
|
||||||
default:
|
default:
|
||||||
type = GrainlineType::NotFixed;
|
type = GrainlineType::NotFixed;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user