Support LIB_ID queries in searchFootprints too
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18039
This commit is contained in:
parent
a762311733
commit
fee0028ee9
|
@ -234,6 +234,12 @@ static bool searchFootprints( BOARD* aBoard, const wxString& aArg, PCBEXPR_CONTE
|
|||
if( aFunc( fp ) )
|
||||
return true;
|
||||
}
|
||||
else if( aArg.Contains( ':' )
|
||||
&& fp->GetFPIDAsString().Matches( aArg ) )
|
||||
{
|
||||
if( aFunc( fp ) )
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue