Update src/Mod/TechDraw/Gui/QGIViewDimension.cpp

Co-authored-by: Benjamin Bræstrup Sayoc <benj5378@outlook.com>
This commit is contained in:
WandererFan
2025-02-11 19:03:32 -05:00
parent 812976f9df
commit d928750026

View File

@@ -1466,7 +1466,7 @@ void QGIViewDimension::drawArrows(int count, const Base::Vector2d positions[], d
}
// some dimensions must use point ends (area). The point style is 3.
arrow->setStyle(forcePoint ? ArrowType::DOT : static_cast<int>(vp->ArrowStyle.getValue()));
arrow->setStyle(forcePoint ? ArrowType::DOT : static_cast<ArrowType>(vp->ArrowStyle.getValue()));
auto arrowSize = vp->Arrowsize.getValue();
arrow->setSize(arrowSize);
arrow->setFlipped(flipped);