SCH_FIELD: fix issue when try to clear its color from a previous color,
the old color was still used to display the field Fixes #13631 https://gitlab.com/kicad/code/kicad/issues/13631
This commit is contained in:
parent
e0111f709b
commit
2443d91265
|
@ -415,6 +415,8 @@ COLOR4D SCH_FIELD::GetFieldColor() const
|
|||
|
||||
if( parentLabel && !parentLabel->IsConnectivityDirty() )
|
||||
m_lastResolvedColor = parentLabel->GetEffectiveNetClass()->GetSchematicColor();
|
||||
else
|
||||
m_lastResolvedColor = GetTextColor();
|
||||
}
|
||||
|
||||
return m_lastResolvedColor;
|
||||
|
|
Loading…
Reference in New Issue