Fixed removal of items in the KiCad-default style.

This commit is contained in:
Maciej Suminski 2014-02-05 11:08:34 +01:00
parent 857956e42e
commit 17c030aa98
1 changed files with 1 additions and 1 deletions

View File

@ -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;