TechDraw: fix wrong color on edges

Fixes #20561
This commit is contained in:
Benjamin Bræstrup Sayoc
2025-04-02 16:05:05 +02:00
committed by Benjamin Nauck
parent acd40ce725
commit 2aba9a86ce
2 changed files with 4 additions and 6 deletions

View File

@@ -80,10 +80,9 @@ void QGIEdge::setPrettyNormal() {
// Base::Console().Message("QGIE::setPrettyNormal()\n");
if (isHiddenEdge) {
m_pen.setColor(getHiddenColor());
} else {
m_pen.setColor(getNormalColor());
return;
}
//should call QGIPP::setPrettyNormal()?
QGIPrimPath::setPrettyNormal();
}
QColor QGIEdge::getHiddenColor()