Skip to content

Commit

Permalink
[TD] fix color change for dimensions
Browse files Browse the repository at this point in the history
This PR fixes issue C reported here: https://forum.freecadweb.org/viewtopic.php?f=35&t=55008#p472939
- the changed color must also be applied to the dimension line and arrows
  • Loading branch information
donovaly authored and wwmayer committed Feb 3, 2021
1 parent 45eea3d commit 400b25c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/TechDraw/Gui/QGIPrimPath.cpp
Expand Up @@ -234,6 +234,7 @@ void QGIPrimPath::setNormalColor(QColor c)
{
m_colNormal = c;
m_colOverride = true;
m_colCurrent = m_colNormal;
}

void QGIPrimPath::setCapStyle(Qt::PenCapStyle c)
Expand Down Expand Up @@ -316,6 +317,7 @@ void QGIPrimPath::resetFill() {
void QGIPrimPath::setFillColor(QColor c)
{
m_colNormalFill = c;
m_fillColorCurrent = m_colNormalFill;
// m_colDefFill = c;
}

Expand Down

0 comments on commit 400b25c

Please sign in to comment.