Implement Group Properties in Footprint Editor.
Also fixes a pair of typos that were keeping delete of a group in the Footprint Editor from working. Fixes https://gitlab.com/kicad/code/kicad/issues/6579 Fixes https://gitlab.com/kicad/code/kicad/issues/6578
This commit is contained in:
parent
df262eaa06
commit
f70153b849
|
@ -211,8 +211,13 @@ void FOOTPRINT_EDIT_FRAME::OnEditItemRequest( BOARD_ITEM* aItem )
|
|||
}
|
||||
break;
|
||||
|
||||
case PCB_GROUP_T:
|
||||
m_toolManager->RunAction( PCB_ACTIONS::groupProperties, true, aItem );
|
||||
break;
|
||||
|
||||
default:
|
||||
wxASSERT( 0 );
|
||||
wxFAIL_MSG( "FOOTPRINT_EDIT_FRAME::OnEditItemRequest: unsupported item type "
|
||||
+ aItem->GetClass() );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1397,8 +1397,8 @@ int EDIT_TOOL::Remove( const TOOL_EVENT& aEvent )
|
|||
if( bItem->GetParent() && bItem->GetParent()->Type() == PCB_FOOTPRINT_T )
|
||||
{
|
||||
m_commit->Modify( bItem->GetParent() );
|
||||
getView()->Remove( group );
|
||||
bItem->GetParent()->Remove( group );
|
||||
getView()->Remove( bItem );
|
||||
bItem->GetParent()->Remove( bItem );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue