From a1b79298a4c534fc51b0f63176a28bfffff0ac9c Mon Sep 17 00:00:00 2001 From: PJM Date: Thu, 23 Jul 2020 16:25:31 -0700 Subject: [PATCH] GerbView #2124 : Alternative drill file extension .txt '.txt' is a common file extension for drill files. This Merge Request adds it to the list of extensions used in the File Open dialog for Excellon Drill files. Fixes issue https://gitlab.com/kicad/code/kicad/-/issues/2124 --- common/wildcards_and_files_ext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/wildcards_and_files_ext.cpp b/common/wildcards_and_files_ext.cpp index 04d19e74de..44ed980548 100644 --- a/common/wildcards_and_files_ext.cpp +++ b/common/wildcards_and_files_ext.cpp @@ -342,7 +342,7 @@ wxString ComponentFileWildcard() // Wildcard for reports and fabrication documents wxString DrillFileWildcard() { - return _( "Drill files" ) + AddFileExtListToFilter( { "drl", "nc", "xnc" } ); + return _( "Drill files" ) + AddFileExtListToFilter( { "drl", "nc", "xnc", "txt" } ); }