eeschema: in file menu: "save as" and "load" uses current path

This commit is contained in:
charras 2009-04-08 18:20:27 +00:00
parent dfb88c6495
commit ceb1de9e24
3 changed files with 4 additions and 4 deletions

View File

@ -21,9 +21,9 @@ common.a: $(COMMON_OBJECTS) makefile.gtk makefile.include
ar -rv $@ $(COMMON_OBJECTS)
ranlib $@
pcbcommon.a: $(COMMON_PCB_OBJECTS) makefile.gtk makefile.include
pcbcommon.a: $(PCB_COMMON_OBJECTS) makefile.gtk makefile.include
rm -f $@
ar -rv $@ $(COMMON_PCB_OBJECTS)
ar -rv $@ $(PCB_COMMON_OBJECTS)
ranlib $@
install:common.a pcb_common.a

View File

@ -80,7 +80,7 @@ int WinEDA_SchematicFrame::LoadOneEEProject( const wxString& FileName,
FullFileName = FileName;
if( ( FullFileName.IsEmpty() ) && !IsNew )
{
wxFileDialog dlg( this, _( "Open Schematic" ), wxEmptyString,
wxFileDialog dlg( this, _( "Open Schematic" ), wxGetCwd(),
wxEmptyString, SchematicFileWildcard,
wxFD_OPEN | wxFD_FILE_MUST_EXIST );

View File

@ -62,7 +62,7 @@ bool WinEDA_SchematicFrame::SaveEEFile( SCH_SCREEN* screen, int FileSave )
case FILE_SAVE_NEW:
{
wxFileDialog dlg( this, _( "Schematic Files" ), wxEmptyString,
wxFileDialog dlg( this, _( "Schematic Files" ), wxGetCwd(),
screen->m_FileName, SchematicFileWildcard,
wxFD_SAVE | wxFD_OVERWRITE_PROMPT );