mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
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…
x
Reference in New Issue
Block a user