Code formatting

This commit is contained in:
Maciej Suminski 2017-08-03 14:26:11 +02:00
parent 9760937494
commit 3629fcbf4a
2 changed files with 3 additions and 3 deletions

View File

@ -514,7 +514,7 @@ int EDIT_TOOL::Properties( const TOOL_EVENT& aEvent )
{
PCB_BASE_EDIT_FRAME* editFrame = getEditFrame<PCB_BASE_EDIT_FRAME>();
const auto& selection = m_selectionTool->RequestSelection ( SELECTION_EDITABLE | SELECTION_DELETABLE );
const auto& selection = m_selectionTool->RequestSelection( SELECTION_EDITABLE | SELECTION_DELETABLE );
if( selection.Empty() )
return 0;

View File

@ -351,7 +351,7 @@ SELECTION& SELECTION_TOOL::GetSelection()
SELECTION& SELECTION_TOOL::RequestSelection( int aFlags )
{
if ( m_selection.Empty() )
if( m_selection.Empty() )
{
m_toolMgr->RunAction( PCB_ACTIONS::selectionCursor, true, 0 );
m_selection.SetIsHover( true );
@ -373,7 +373,7 @@ SELECTION& SELECTION_TOOL::RequestSelection( int aFlags )
}
}
if ( aFlags & SELECTION_SANITIZE_PADS )
if( aFlags & SELECTION_SANITIZE_PADS )
SanitizeSelection();
return m_selection;