mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
SCH_PIN: defer to lib pin for menu image
Otherwise we try to look up the icon for INHERIT, which is an assertion. This can be hit when long-clicking no-connect on a pin.
This commit is contained in:
parent
86394b7598
commit
6f2a3582ae
@ -1797,6 +1797,9 @@ bool SCH_PIN::ConnectionPropagatesTo( const EDA_ITEM* aItem ) const
|
||||
|
||||
BITMAPS SCH_PIN::GetMenuImage() const
|
||||
{
|
||||
if( m_libPin )
|
||||
return m_libPin->GetMenuImage();
|
||||
|
||||
return ElectricalPinTypeGetBitmap( m_type );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user