Display info in the message panel if only one item was selected using area selection tool.
This commit is contained in:
parent
3cb095b7c2
commit
1b208e0a5e
|
@ -432,8 +432,10 @@ bool SELECTION_TOOL::selectMultiple()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do not display information about selected item,as there is more than one
|
if( m_selection.Size() == 1 )
|
||||||
m_frame->SetCurItem( NULL );
|
m_frame->SetCurItem( m_selection.Item<BOARD_ITEM>( 0 ) );
|
||||||
|
else
|
||||||
|
m_frame->SetCurItem( NULL );
|
||||||
|
|
||||||
if( !m_selection.Empty() )
|
if( !m_selection.Empty() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue