Parent property should not be accessible from the UI
This commit is contained in:
parent
426aa76788
commit
256364aaa1
|
@ -328,7 +328,8 @@ static struct BOARD_ITEM_DESC
|
||||||
|
|
||||||
propMgr.AddProperty( new PROPERTY<BOARD_ITEM, wxString>( _HKI( "Parent" ),
|
propMgr.AddProperty( new PROPERTY<BOARD_ITEM, wxString>( _HKI( "Parent" ),
|
||||||
NO_SETTER( BOARD_ITEM, wxString ), &BOARD_ITEM::GetParentAsString ) )
|
NO_SETTER( BOARD_ITEM, wxString ), &BOARD_ITEM::GetParentAsString ) )
|
||||||
.SetIsHiddenFromLibraryEditors();
|
.SetIsHiddenFromLibraryEditors()
|
||||||
|
.SetIsHiddenFromPropertiesManager();
|
||||||
|
|
||||||
propMgr.AddProperty( new PROPERTY<BOARD_ITEM, int>( _HKI( "Position X" ),
|
propMgr.AddProperty( new PROPERTY<BOARD_ITEM, int>( _HKI( "Position X" ),
|
||||||
&BOARD_ITEM::SetX, &BOARD_ITEM::GetX, PROPERTY_DISPLAY::PT_COORD,
|
&BOARD_ITEM::SetX, &BOARD_ITEM::GetX, PROPERTY_DISPLAY::PT_COORD,
|
||||||
|
|
Loading…
Reference in New Issue