Eeschema, search_handlers: fix a typo and a missing type name for Directive labels

This commit is contained in:
jean-pierre charras 2023-08-13 11:30:32 +02:00
parent 53b732466a
commit 52697c9962
1 changed files with 3 additions and 1 deletions

View File

@ -335,7 +335,9 @@ wxString LABEL_SEARCH_HANDLER::getResultCell( const SCH_SEARCH_HIT& aHit, int aC
else if( lbl->Type() == SCH_GLOBAL_LABEL_T )
return wxS( "Global" );
else if( lbl->Type() == SCH_HIER_LABEL_T )
return wxS( "Hierarchal" );
return wxS( "Hierarchical" );
else if( lbl->Type() == SCH_DIRECTIVE_LABEL_T )
return wxS( "Directive" );
}
else if( aCol == 1 )
return lbl->GetShownText( false );