--- 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 <baranovskiykonstan...@gmail.com>
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

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to