eeschema: in file menu: "save as" and "load" uses current path
This commit is contained in:
parent
dfb88c6495
commit
ceb1de9e24
|
@ -21,9 +21,9 @@ common.a: $(COMMON_OBJECTS) makefile.gtk makefile.include
|
||||||
ar -rv $@ $(COMMON_OBJECTS)
|
ar -rv $@ $(COMMON_OBJECTS)
|
||||||
ranlib $@
|
ranlib $@
|
||||||
|
|
||||||
pcbcommon.a: $(COMMON_PCB_OBJECTS) makefile.gtk makefile.include
|
pcbcommon.a: $(PCB_COMMON_OBJECTS) makefile.gtk makefile.include
|
||||||
rm -f $@
|
rm -f $@
|
||||||
ar -rv $@ $(COMMON_PCB_OBJECTS)
|
ar -rv $@ $(PCB_COMMON_OBJECTS)
|
||||||
ranlib $@
|
ranlib $@
|
||||||
|
|
||||||
install:common.a pcb_common.a
|
install:common.a pcb_common.a
|
||||||
|
|
|
@ -80,7 +80,7 @@ int WinEDA_SchematicFrame::LoadOneEEProject( const wxString& FileName,
|
||||||
FullFileName = FileName;
|
FullFileName = FileName;
|
||||||
if( ( FullFileName.IsEmpty() ) && !IsNew )
|
if( ( FullFileName.IsEmpty() ) && !IsNew )
|
||||||
{
|
{
|
||||||
wxFileDialog dlg( this, _( "Open Schematic" ), wxEmptyString,
|
wxFileDialog dlg( this, _( "Open Schematic" ), wxGetCwd(),
|
||||||
wxEmptyString, SchematicFileWildcard,
|
wxEmptyString, SchematicFileWildcard,
|
||||||
wxFD_OPEN | wxFD_FILE_MUST_EXIST );
|
wxFD_OPEN | wxFD_FILE_MUST_EXIST );
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ bool WinEDA_SchematicFrame::SaveEEFile( SCH_SCREEN* screen, int FileSave )
|
||||||
|
|
||||||
case FILE_SAVE_NEW:
|
case FILE_SAVE_NEW:
|
||||||
{
|
{
|
||||||
wxFileDialog dlg( this, _( "Schematic Files" ), wxEmptyString,
|
wxFileDialog dlg( this, _( "Schematic Files" ), wxGetCwd(),
|
||||||
screen->m_FileName, SchematicFileWildcard,
|
screen->m_FileName, SchematicFileWildcard,
|
||||||
wxFD_SAVE | wxFD_OVERWRITE_PROMPT );
|
wxFD_SAVE | wxFD_OVERWRITE_PROMPT );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue