From 821c02af3c1666c4675dd058d4208306d628d406 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 22 Nov 2017 09:43:29 +0100 Subject: [PATCH] Kicad, menu Browse/Open Local file : shows all files by default, because all kicad files are editable ASCII files. --- kicad/mainframe.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kicad/mainframe.cpp b/kicad/mainframe.cpp index 2433baebd1..9d2fe5b7b3 100644 --- a/kicad/mainframe.cpp +++ b/kicad/mainframe.cpp @@ -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();