Don't deselect on activate event; only cancel events.
Fixes: lp:1833268 * https://bugs.launchpad.net/kicad/+bug/1833268
This commit is contained in:
parent
b8dfc1f26a
commit
c8f254ff92
|
@ -388,7 +388,8 @@ int POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent )
|
|||
commit.Revert();
|
||||
|
||||
// ESC should clear selection along with edit points
|
||||
m_toolMgr->RunAction( PCB_ACTIONS::selectionClear, true );
|
||||
if( TOOL_EVT_UTILS::IsCancelInteractive( *evt ) )
|
||||
m_toolMgr->RunAction( PCB_ACTIONS::selectionClear, true );
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue