Fixed removal of items in the KiCad-default style.
This commit is contained in:
parent
857956e42e
commit
17c030aa98
|
@ -330,7 +330,7 @@ int EDIT_TOOL::Flip( TOOL_EVENT& aEvent )
|
|||
|
||||
int EDIT_TOOL::Remove( TOOL_EVENT& aEvent )
|
||||
{
|
||||
const SELECTION_TOOL::SELECTION selection = m_selectionTool->GetSelection();
|
||||
const SELECTION_TOOL::SELECTION& selection = m_selectionTool->GetSelection();
|
||||
|
||||
if( !makeSelection( selection ) )
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue