mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Fix another broken graphics import file filter.
(cherry picked from commit 022c913e8f5c9476bb0538bf3a62b893d82b0a60)
This commit is contained in:
parent
6ebd970f88
commit
c0eee45876
@ -2,7 +2,7 @@
|
|||||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2018 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
* Copyright (C) 2018 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||||
* Copyright (C) 1992-2020 KiCad Developers, see AUTHORS.txt for contributors.
|
* Copyright (C) 1992-2023 KiCad Developers, see AUTHORS.txt for contributors.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License
|
* modify it under the terms of the GNU General Public License
|
||||||
@ -275,7 +275,7 @@ void DIALOG_IMPORT_GFX::onBrowseFiles( wxCommandEvent& event )
|
|||||||
allWildcards += plugin->GetWildcards() + wxT( ";" );
|
allWildcards += plugin->GetWildcards() + wxT( ";" );
|
||||||
}
|
}
|
||||||
|
|
||||||
wildcardsDesc = _( "All supported formats|" ) + allWildcards + wildcardsDesc;
|
wildcardsDesc = _( "All supported formats" ) + wxT( "|" ) + allWildcards + wildcardsDesc;
|
||||||
|
|
||||||
wxFileDialog dlg( m_parent, _( "Open File" ), path, filename, wildcardsDesc,
|
wxFileDialog dlg( m_parent, _( "Open File" ), path, filename, wildcardsDesc,
|
||||||
wxFD_OPEN | wxFD_FILE_MUST_EXIST );
|
wxFD_OPEN | wxFD_FILE_MUST_EXIST );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user