Fix typo in cherry-pick.

Fixes: lp:1838006
* https://bugs.launchpad.net/kicad/+bug/1838006
This commit is contained in:
Jeff Young 2019-07-30 11:48:45 -06:00
parent c8278f377b
commit 4b01f80e8d
1 changed files with 1 additions and 1 deletions

View File

@ -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 );