From 256364aaa1a3b5f382f2e7cea8deaad90d2fde4f Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 23 Jan 2024 20:41:34 -0500 Subject: [PATCH] Parent property should not be accessible from the UI --- pcbnew/board_item.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pcbnew/board_item.cpp b/pcbnew/board_item.cpp index ce3948cf03..965a75e531 100644 --- a/pcbnew/board_item.cpp +++ b/pcbnew/board_item.cpp @@ -328,7 +328,8 @@ static struct BOARD_ITEM_DESC propMgr.AddProperty( new PROPERTY( _HKI( "Parent" ), NO_SETTER( BOARD_ITEM, wxString ), &BOARD_ITEM::GetParentAsString ) ) - .SetIsHiddenFromLibraryEditors(); + .SetIsHiddenFromLibraryEditors() + .SetIsHiddenFromPropertiesManager(); propMgr.AddProperty( new PROPERTY( _HKI( "Position X" ), &BOARD_ITEM::SetX, &BOARD_ITEM::GetX, PROPERTY_DISPLAY::PT_COORD,