Fix that all file types are shown in file dialog
This commit is contained in:
parent
d9a94dc538
commit
884bed7e12
|
@ -111,7 +111,6 @@ bool DIALOG_IMPORT_SETTINGS::TransferDataToWindow()
|
||||||
void DIALOG_IMPORT_SETTINGS::OnBrowseClicked( wxCommandEvent& event )
|
void DIALOG_IMPORT_SETTINGS::OnBrowseClicked( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
wxFileName fn = m_frame->GetBoard()->GetFileName();
|
wxFileName fn = m_frame->GetBoard()->GetFileName();
|
||||||
fn.SetExt( ProjectFileExtension );
|
|
||||||
|
|
||||||
wxFileDialog dlg( this, _( "Import Settings From" ), fn.GetPath(), fn.GetFullName(),
|
wxFileDialog dlg( this, _( "Import Settings From" ), fn.GetPath(), fn.GetFullName(),
|
||||||
PcbFileWildcard(), wxFD_OPEN | wxFD_FILE_MUST_EXIST | wxFD_CHANGE_DIR );
|
PcbFileWildcard(), wxFD_OPEN | wxFD_FILE_MUST_EXIST | wxFD_CHANGE_DIR );
|
||||||
|
|
Loading…
Reference in New Issue