groups: fix properties assert in board editor

This commit is contained in:
Mike Williams
2025-06-03 14:06:43 -04:00
parent 861fc359d6
commit 143628065e
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -244,7 +244,8 @@ void FOOTPRINT_EDIT_FRAME::OnEditItemRequest( BOARD_ITEM* aItem )
}
case PCB_GROUP_T:
m_toolManager->RunAction( ACTIONS::groupProperties, static_cast<PCB_GROUP*>( aItem ) );
m_toolManager->RunAction( ACTIONS::groupProperties,
static_cast<EDA_GROUP*>( static_cast<PCB_GROUP*>( aItem ) ) );
break;
case PCB_MARKER_T:
+2 -1
View File
@@ -2857,7 +2857,8 @@ void PCB_EDIT_FRAME::OnEditItemRequest( BOARD_ITEM* aItem )
break;
case PCB_GROUP_T:
m_toolManager->RunAction( ACTIONS::groupProperties, static_cast<PCB_GROUP*>( aItem ) );
m_toolManager->RunAction( ACTIONS::groupProperties,
static_cast<EDA_GROUP*>( static_cast<PCB_GROUP*>( aItem ) ) );
break;
case PCB_GENERATOR_T: