Code formatting
This commit is contained in:
parent
9760937494
commit
3629fcbf4a
|
@ -514,7 +514,7 @@ int EDIT_TOOL::Properties( const TOOL_EVENT& aEvent )
|
||||||
{
|
{
|
||||||
PCB_BASE_EDIT_FRAME* editFrame = getEditFrame<PCB_BASE_EDIT_FRAME>();
|
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() )
|
if( selection.Empty() )
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -351,7 +351,7 @@ SELECTION& SELECTION_TOOL::GetSelection()
|
||||||
|
|
||||||
SELECTION& SELECTION_TOOL::RequestSelection( int aFlags )
|
SELECTION& SELECTION_TOOL::RequestSelection( int aFlags )
|
||||||
{
|
{
|
||||||
if ( m_selection.Empty() )
|
if( m_selection.Empty() )
|
||||||
{
|
{
|
||||||
m_toolMgr->RunAction( PCB_ACTIONS::selectionCursor, true, 0 );
|
m_toolMgr->RunAction( PCB_ACTIONS::selectionCursor, true, 0 );
|
||||||
m_selection.SetIsHover( true );
|
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();
|
SanitizeSelection();
|
||||||
|
|
||||||
return m_selection;
|
return m_selection;
|
||||||
|
|
Loading…
Reference in New Issue