Support LIB_ID queries in searchFootprints too
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18039
(cherry picked from commit fee0028ee9
)
Co-authored-by: Jon Evans <jon@craftyjon.com>
This commit is contained in:
parent
25bb3f77fa
commit
7f03666f96
|
@ -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