Browse Source

Fixed removal of items in the KiCad-default style.

pull/1/head
Maciej Suminski 12 years ago
parent
commit
17c030aa98
  1. 2
      pcbnew/tools/edit_tool.cpp

2
pcbnew/tools/edit_tool.cpp

@ -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…
Cancel
Save