Fix that all file types are shown in file dialog

This commit is contained in:
Dominik Wernberger 2020-09-20 17:42:00 +02:00 committed by Jeff Young
parent d9a94dc538
commit 884bed7e12
1 changed files with 0 additions and 1 deletions

View File

@ -111,7 +111,6 @@ bool DIALOG_IMPORT_SETTINGS::TransferDataToWindow()
void DIALOG_IMPORT_SETTINGS::OnBrowseClicked( wxCommandEvent& event )
{
wxFileName fn = m_frame->GetBoard()->GetFileName();
fn.SetExt( ProjectFileExtension );
wxFileDialog dlg( this, _( "Import Settings From" ), fn.GetPath(), fn.GetFullName(),
PcbFileWildcard(), wxFD_OPEN | wxFD_FILE_MUST_EXIST | wxFD_CHANGE_DIR );