mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 12:01:41 +00:00
Don't translate wxFileDialog "All Files" filter.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20297
This commit is contained in:
parent
3ddaa24775
commit
c4655da4e6
common
@ -318,7 +318,7 @@ void PANEL_EMBEDDED_FILES::onAddEmbeddedFiles( wxCommandEvent& event )
|
||||
{
|
||||
// TODO: Update strings to reflect that multiple files can be selected.
|
||||
wxFileDialog fileDialog( this, _( "Select a file to embed" ), wxEmptyString, wxEmptyString,
|
||||
_( "All files|*.*" ),
|
||||
_( "All Files" ) + wxT( " (*.*)|*.*" ),
|
||||
wxFD_OPEN | wxFD_FILE_MUST_EXIST | wxFD_MULTIPLE );
|
||||
|
||||
if( fileDialog.ShowModal() == wxID_OK )
|
||||
|
@ -367,8 +367,11 @@ protected:
|
||||
if( filename.IsEmpty() || filename == wxT( "~" ) )
|
||||
{
|
||||
FILEDLG_OPEN_EMBED_FILE customize;
|
||||
wxFileDialog openFileDialog( this, _( "Open file" ), "", "", "All files (*.*)|*.*",
|
||||
|
||||
wxFileDialog openFileDialog( this, _( "Open file" ), "", "",
|
||||
_( "All Files" ) + wxT( " (*.*)|*.*" ),
|
||||
wxFD_OPEN | wxFD_FILE_MUST_EXIST );
|
||||
|
||||
openFileDialog.SetCustomizeHook( customize );
|
||||
|
||||
if( openFileDialog.ShowModal() == wxID_OK )
|
||||
|
Loading…
Reference in New Issue
Block a user