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.
This commit is contained in:
parent
c80e3e0ffc
commit
9992839c78
|
@ -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
|
// Don't use wxFileDialog here. On GTK builds, the default path is returned unless a
|
||||||
// file is actually selected.
|
// 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 )
|
if( prodlg.ShowModal() == wxID_CANCEL )
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue