Eagle: Allow directory creation when importing
The DD_MUST_EXIST flag prevents users from creating a new directory for
their imported eagle project. This is a UX annoyance.
(cherry picked from commit 9992839c78
)
This commit is contained in:
parent
764986a9b0
commit
d06b42b917
|
@ -82,7 +82,7 @@ void KICAD_MANAGER_FRAME::OnImportEagleFiles( wxCommandEvent& event )
|
|||
|
||||
// Don't use wxFileDialog here. On GTK builds, the default path is returned unless a
|
||||
// file is actually selected.
|
||||
wxDirDialog prodlg( this, protitle, pro.GetPath(), wxDD_DEFAULT_STYLE | wxDD_DIR_MUST_EXIST );
|
||||
wxDirDialog prodlg( this, protitle, pro.GetPath(), wxDD_DEFAULT_STYLE );
|
||||
|
||||
if( prodlg.ShowModal() == wxID_CANCEL )
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue