Fix context item selection filter type omissions

Fixes #7839
This commit is contained in:
pgvoorhees 2021-03-14 19:31:40 +00:00 committed by Jeff Young
parent cad1cb0262
commit bb8d31cd06
1 changed files with 2 additions and 0 deletions

View File

@ -1521,6 +1521,7 @@ static bool itemIsIncludedByFilter( const BOARD_ITEM& aItem, const BOARD& aBoard
include = aFilterOptions.includeVias;
break;
case PCB_FP_ZONE_T:
case PCB_ZONE_T:
include = aFilterOptions.includeZones;
break;
@ -1537,6 +1538,7 @@ static bool itemIsIncludedByFilter( const BOARD_ITEM& aItem, const BOARD& aBoard
include = aFilterOptions.includeItemsOnTechLayers;
break;
case PCB_FP_TEXT_T:
case PCB_TEXT_T:
include = aFilterOptions.includePcbTexts;
break;