kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #31573
[PATCH] Fix wildcard for Eagle XML files.
--- a/common/wildcards_and_files_ext.cpp
+++ b/common/wildcards_and_files_ext.cpp
@@ -139,7 +139,8 @@ wxString EagleSchematicFileWildcard()
wxString EagleFilesWildcard()
{
- return _( "Eagle XML files (*.sch *.brd)|*.sch;*." ) +
FormatWildcardExt( "brd" );
+ return _( "Eagle XML files (*.sch *.brd)|*." ) +
+ FormatWildcardExt( "sch" ) + ";*." + FormatWildcardExt( "brd" );
}
From df1e78d4320873465f0db482086cd3878712f6a9 Mon Sep 17 00:00:00 2001
From: Baranovskiy Konstantin <baranovskiykonstantin@xxxxxxxxx>
Date: Sun, 12 Nov 2017 14:11:50 +0200
Subject: [PATCH] Fix wildcard for Eagle XML files.
---
common/wildcards_and_files_ext.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/wildcards_and_files_ext.cpp b/common/wildcards_and_files_ext.cpp
index 81d8e94dc..9c3990872 100644
--- a/common/wildcards_and_files_ext.cpp
+++ b/common/wildcards_and_files_ext.cpp
@@ -139,7 +139,8 @@ wxString EagleSchematicFileWildcard()
wxString EagleFilesWildcard()
{
- return _( "Eagle XML files (*.sch *.brd)|*.sch;*." ) + FormatWildcardExt( "brd" );
+ return _( "Eagle XML files (*.sch *.brd)|*." ) +
+ FormatWildcardExt( "sch" ) + ";*." + FormatWildcardExt( "brd" );
}
--
2.15.0
Follow ups