Don't clear selection on undo/redo.
It's annoying to the user.
This commit is contained in:
parent
df115dbcbd
commit
a77ce59487
|
@ -803,8 +803,6 @@ int EE_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent )
|
||||||
{
|
{
|
||||||
if( SCH_EDIT_FRAME* schframe = dynamic_cast<SCH_EDIT_FRAME*>( m_frame ) )
|
if( SCH_EDIT_FRAME* schframe = dynamic_cast<SCH_EDIT_FRAME*>( m_frame ) )
|
||||||
schframe->FocusOnItem( nullptr );
|
schframe->FocusOnItem( nullptr );
|
||||||
|
|
||||||
ClearSelection();
|
|
||||||
}
|
}
|
||||||
else if( evt->IsMotion() && !m_isSymbolEditor && evt->FirstResponder() == this )
|
else if( evt->IsMotion() && !m_isSymbolEditor && evt->FirstResponder() == this )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue