mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 09:01:42 +00:00
SCH_RENDER_SETTINGS: Remove duplicate electrical type setting
This class had m_ShowPinsElectricalType and m_ShowPinElectricalTypes. Nearly everything used the former, only one callsite used the latter, which would never have been changed.
This commit is contained in:
parent
bb43a5047e
commit
884530e699
@ -568,7 +568,7 @@ void SCH_PIN::Print( const SCH_RENDER_SETTINGS* aSettings, int aUnit, int aBodyS
|
||||
aSettings->m_ShowPinNames || part->GetShowPinNames(),
|
||||
aDimmed );
|
||||
|
||||
if( aSettings->m_ShowPinElectricalTypes )
|
||||
if( aSettings->m_ShowPinsElectricalType )
|
||||
printPinElectricalTypeName( aSettings, pos1, orient, aDimmed );
|
||||
|
||||
if( aSettings->m_ShowConnectionPoints
|
||||
|
@ -40,7 +40,6 @@ SCH_RENDER_SETTINGS::SCH_RENDER_SETTINGS() :
|
||||
m_ShowVisibleFields( true ),
|
||||
m_ShowPinNumbers( false ),
|
||||
m_ShowPinNames( false ),
|
||||
m_ShowPinElectricalTypes( false ),
|
||||
m_ShowPinAltIcons( false ),
|
||||
m_ShowDisabled( false ),
|
||||
m_ShowGraphicsDisabled( false ),
|
||||
|
@ -86,7 +86,6 @@ public:
|
||||
bool m_ShowVisibleFields;
|
||||
bool m_ShowPinNumbers; // Force showing of pin numbers (normally symbol-specific)
|
||||
bool m_ShowPinNames; // Force showing of pin names (normally symbol-specific)
|
||||
bool m_ShowPinElectricalTypes;
|
||||
bool m_ShowPinAltIcons;
|
||||
bool m_ShowDisabled;
|
||||
bool m_ShowGraphicsDisabled;
|
||||
|
Loading…
Reference in New Issue
Block a user