From ae8daee83c14acbfcba94071af7549c963864664 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 12 Jun 2019 17:14:55 +0100 Subject: [PATCH] Don't let point editor interrupt other operations. Fixes: lp:1832416 * https://bugs.launchpad.net/kicad/+bug/1832416 --- pcbnew/tools/point_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/tools/point_editor.cpp b/pcbnew/tools/point_editor.cpp index 64d081f486..de9aecf7fd 100644 --- a/pcbnew/tools/point_editor.cpp +++ b/pcbnew/tools/point_editor.cpp @@ -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();