Fix symbol editor glitches due to autostart trying to start

This commit is contained in:
Marek Roszko 2020-10-03 15:47:08 -04:00
parent 0b2b8b150d
commit 676f3221cc
1 changed files with 2 additions and 2 deletions

View File

@ -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;