Fixed removal of items in the KiCad-default style.
This commit is contained in:
parent
cff1ea84ee
commit
de0c476042
|
@ -330,7 +330,7 @@ int EDIT_TOOL::Flip( TOOL_EVENT& aEvent )
|
||||||
|
|
||||||
int EDIT_TOOL::Remove( 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 ) )
|
if( !makeSelection( selection ) )
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue