Fix typo in cherry-pick.
Fixes: lp:1838006 * https://bugs.launchpad.net/kicad/+bug/1838006
This commit is contained in:
parent
c8278f377b
commit
4b01f80e8d
|
@ -151,7 +151,7 @@ void DIALOG_FIND::onButtonFindItemClick( wxCommandEvent& aEvent )
|
|||
|
||||
for( BOARD_ITEM* item : parent->GetBoard()->Drawings() )
|
||||
{
|
||||
if( item->Type() != PCB_MODULE_TEXT_T )
|
||||
if( item->Type() != PCB_TEXT_T )
|
||||
continue;
|
||||
|
||||
TEXTE_PCB* textItem = static_cast<TEXTE_PCB*>( item );
|
||||
|
|
Loading…
Reference in New Issue