Fix more accidental event capturing.
Fixes https://gitlab.com/kicad/code/kicad/issues/5844
This commit is contained in:
parent
16c92f4134
commit
2260597236
|
@ -230,6 +230,10 @@ void PCB_TOOL_BASE::doInteractiveItemPlacement( const std::string& aTool,
|
||||||
aPlacer->SnapItem( newItem.get() );
|
aPlacer->SnapItem( newItem.get() );
|
||||||
view()->Update( &preview );
|
view()->Update( &preview );
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
evt->SetPassEvent();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if( newItem && evt->IsMotion() )
|
else if( newItem && evt->IsMotion() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue