Fix KiCad-only board file dialog filter.

This commit is contained in:
Alex Shvartzkop 2023-08-17 09:36:47 +03:00
parent f2a8c25084
commit 953cf0d680
1 changed files with 2 additions and 2 deletions

View File

@ -132,13 +132,13 @@ bool AskLoadBoardFileName( PCB_EDIT_FRAME* aParent, wxString* aFileName, int aCt
}
wxString allWildcardsStr;
for( const wxString& wildcard : allWildcardsSet )
allWildcardsStr << wildcard;
if( aCtl & KICTL_KICAD_ONLY )
{
fileFiltersStr = _( "All KiCad Board Files" ) + AddFileExtListToFilter( allExtensions )
+ wxT( "|" ) + allWildcardsStr;
fileFiltersStr = _( "All KiCad Board Files" ) + AddFileExtListToFilter( allExtensions );
}
else
{