Hide parent property in footprint editor
This commit is contained in:
parent
f7d59f2e89
commit
cad607ae84
|
@ -528,6 +528,7 @@ static struct FP_TEXT_DESC
|
|||
propMgr.InheritsAfter( TYPE_HASH( FP_TEXT ), TYPE_HASH( EDA_TEXT ) );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<FP_TEXT, wxString>( _HKI( "Parent" ),
|
||||
NO_SETTER( FP_TEXT, wxString ), &FP_TEXT::GetParentAsString ) );
|
||||
NO_SETTER( FP_TEXT, wxString ), &FP_TEXT::GetParentAsString ) )
|
||||
.SetIsHiddenFromLibraryEditors();
|
||||
}
|
||||
} _FP_TEXT_DESC;
|
||||
|
|
|
@ -518,6 +518,7 @@ static struct FP_TEXTBOX_DESC
|
|||
propMgr.InheritsAfter( TYPE_HASH( FP_TEXTBOX ), TYPE_HASH( EDA_TEXT ) );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<FP_TEXTBOX, wxString>( _HKI( "Parent" ),
|
||||
NO_SETTER( FP_TEXTBOX, wxString ), &FP_TEXTBOX::GetParentAsString ) );
|
||||
NO_SETTER( FP_TEXTBOX, wxString ), &FP_TEXTBOX::GetParentAsString ) )
|
||||
.SetIsHiddenFromLibraryEditors();
|
||||
}
|
||||
} _FP_TEXTBOX_DESC;
|
||||
|
|
|
@ -1782,7 +1782,8 @@ static struct PAD_DESC
|
|||
propMgr.AddProperty( shape, groupPad );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PAD, wxString>( _HKI( "Parent" ),
|
||||
NO_SETTER( PAD, wxString ), &PAD::GetParentAsString ), groupPad );
|
||||
NO_SETTER( PAD, wxString ), &PAD::GetParentAsString ), groupPad )
|
||||
.SetIsHiddenFromLibraryEditors();
|
||||
|
||||
auto padNumber = new PROPERTY<PAD, wxString>( _HKI( "Pad Number" ),
|
||||
&PAD::SetNumber, &PAD::GetNumber );
|
||||
|
|
Loading…
Reference in New Issue