From 4b01f80e8d7acd99764b4c3f79b5bdee2d6c4411 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 30 Jul 2019 11:48:45 -0600 Subject: [PATCH] Fix typo in cherry-pick. Fixes: lp:1838006 * https://bugs.launchpad.net/kicad/+bug/1838006 --- pcbnew/dialogs/dialog_find.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_find.cpp b/pcbnew/dialogs/dialog_find.cpp index 3c4ef5f148..2c440e44df 100644 --- a/pcbnew/dialogs/dialog_find.cpp +++ b/pcbnew/dialogs/dialog_find.cpp @@ -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( item );