Allow setting Pin Function and Pin Type.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20992
This commit is contained in:
Jeff Young
2025-07-23 14:35:37 +01:00
parent 60d9713baf
commit c63e2edfff
+2 -2
View File
@@ -2799,10 +2799,10 @@ static struct PAD_DESC
.SetAvailableFunc( isCopperPad );
propMgr.AddProperty( new PROPERTY<PAD, wxString>( _HKI( "Pin Name" ),
NO_SETTER( PAD, wxString ), &PAD::GetPinFunction ), groupPad )
&PAD::SetPinFunction, &PAD::GetPinFunction ), groupPad )
.SetIsHiddenFromLibraryEditors();
propMgr.AddProperty( new PROPERTY<PAD, wxString>( _HKI( "Pin Type" ),
NO_SETTER( PAD, wxString ), &PAD::GetPinType ), groupPad )
&PAD::SetPinType, &PAD::GetPinType ), groupPad )
.SetIsHiddenFromLibraryEditors();
propMgr.AddProperty( new PROPERTY<PAD, int>( _HKI( "Size X" ),