Skip to content

Commit

Permalink
[TD]fix EdgeCapStyle default
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed Jan 29, 2020
1 parent 4142fb9 commit 8512c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/TechDraw/Gui/QGIPrimPath.cpp
Expand Up @@ -267,7 +267,7 @@ Qt::PenCapStyle QGIPrimPath::prefCapStyle()
result = (Qt::PenCapStyle) oldStyle;
int newStyle;
if (oldStyle == 0xFF) { //no old style parm found
newStyle = hGrp->GetUnsigned("EdgeCapStyle", 2); //0x00 FlatCap, 0x10 SquareCap, 0x20 RoundCap
newStyle = hGrp->GetInt("EdgeCapStyle", 32); //0x00 FlatCap, 0x10 SquareCap, 0x20 RoundCap
switch (newStyle) {
case 0:
result = (Qt::PenCapStyle) 0x20; //round;
Expand Down

0 comments on commit 8512c5e

Please sign in to comment.