Kicad, menu Browse/Open Local file : shows all files by default, because all kicad files are editable ASCII files.

This commit is contained in:
jean-pierre charras 2017-11-22 09:43:29 +01:00
parent bc0306ba99
commit 821c02af3c
1 changed files with 2 additions and 1 deletions

View File

@ -489,7 +489,8 @@ void KICAD_MANAGER_FRAME::OnOpenTextEditor( wxCommandEvent& event )
void KICAD_MANAGER_FRAME::OnOpenFileInTextEditor( wxCommandEvent& event )
{
wxString wildcard = TextFileWildcard() + "|" + AllFilesWildcard;
// show all files in file dialog (in Kicad all files are editable texts):
wxString wildcard = AllFilesWildcard;
wxString default_dir = Prj().GetProjectPath();