From 676f3221cc1e36e4ef133c38e87c402573c9fc78 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Sat, 3 Oct 2020 15:47:08 -0400 Subject: [PATCH] Fix symbol editor glitches due to autostart trying to start --- eeschema/tools/ee_selection_tool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/tools/ee_selection_tool.cpp b/eeschema/tools/ee_selection_tool.cpp index 246505db2d..0b8bccdf7f 100644 --- a/eeschema/tools/ee_selection_tool.cpp +++ b/eeschema/tools/ee_selection_tool.cpp @@ -335,7 +335,7 @@ int EE_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent ) { narrowSelection( collector, evt->Position(), false ); - if( collector.GetCount() == 1 ) + if( collector.GetCount() == 1 && !m_isLibEdit ) { // Check if we want to auto start wires VECTOR2I snappedCursorPos = grid.BestSnapAnchor( evt->Position(), nullptr ); @@ -494,7 +494,7 @@ int EE_SELECTION_TOOL::Main( const TOOL_EVENT& aEvent ) ClearSelection(); } - else if( evt->IsMotion() ) + else if( evt->IsMotion() && !m_isLibEdit ) { EE_COLLECTOR collector;