Kicad, unzip archive: allows directory creation in dir dialog.

Fixes #4461
https://gitlab.com/kicad/code/kicad/issues/4461
This commit is contained in:
jean-pierre charras 2020-05-16 17:43:14 +02:00
parent d3f017d825
commit fca3fb0e11
1 changed files with 1 additions and 2 deletions

View File

@ -116,8 +116,7 @@ void KICAD_MANAGER_FRAME::OnUnarchiveFiles( wxCommandEvent& event )
wxString msg = wxString::Format( _( "\nOpen \"%s\"\n" ), zipfiledlg.GetPath() );
PrintMsg( msg );
wxDirDialog dirDlg( this, _( "Target Directory" ), fn.GetPath(),
wxDD_DEFAULT_STYLE | wxDD_DIR_MUST_EXIST );
wxDirDialog dirDlg( this, _( "Target Directory" ), fn.GetPath(), wxDD_DEFAULT_STYLE );
if( dirDlg.ShowModal() == wxID_CANCEL )
return;