Eeschema: do not leave a temporary flag set after use in draw symbol function.
Fixes #11617 https://gitlab.com/kicad/code/kicad/issues/11617
This commit is contained in:
parent
9049c907a1
commit
359c99991b
|
@ -2121,6 +2121,7 @@ void SCH_PAINTER::draw( SCH_SYMBOL* aSymbol, int aLayer )
|
|||
LIB_PIN* tempPin = tempPins[ i ];
|
||||
|
||||
symbolPin->ClearFlags();
|
||||
tempPin->ClearFlags( IS_DANGLING ); // Clear this temporary flag
|
||||
symbolPin->SetFlags( tempPin->GetFlags() ); // SELECTED, HIGHLIGHTED, BRIGHTENED,
|
||||
// IS_SHOWN_AS_BITMAP
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue