pcbnew: Clear highlight cross-probe
When highlighting a new net, clear the Eeschema highlight before selecting items Fixes: lp:1815147 * https://bugs.launchpad.net/kicad/+bug/1815147
This commit is contained in:
parent
92e2aa31a9
commit
3dfa57fe1d
|
@ -981,6 +981,9 @@ static bool highlightNet( TOOL_MANAGER* aToolMgr, const VECTOR2D& aPosition,
|
|||
collector.Collect( board, GENERAL_COLLECTOR::Zones,
|
||||
wxPoint( aPosition.x, aPosition.y ), guide );
|
||||
|
||||
// Clear the previous highlight
|
||||
frame->SendMessageToEESCHEMA( nullptr );
|
||||
|
||||
for( int i = 0; i < collector.GetCount(); i++ )
|
||||
{
|
||||
if( ( collector[i]->GetLayerSet() & LSET::AllCuMask() ).none() )
|
||||
|
|
Loading…
Reference in New Issue