Don't let point editor interrupt other operations.

Fixes: lp:1832416
* https://bugs.launchpad.net/kicad/+bug/1832416
This commit is contained in:
Jeff Young 2019-06-12 17:14:55 +01:00
parent 158e05adea
commit ae8daee83c
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ int POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent )
const PCBNEW_SELECTION& selection = m_selectionTool->GetSelection();
if( selection.Size() != 1 )
if( selection.Size() != 1 || selection.Front()->GetEditFlags() )
return 0;
Activate();