Use proper path when loading files from Gerber job file
This commit is contained in:
parent
5292829e05
commit
80035661dc
|
@ -164,7 +164,7 @@ bool GERBVIEW_FRAME::LoadGerberJobFile( const wxString& aFullFileName )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
filename = dlg.GetPath();
|
filename = dlg.GetPath();
|
||||||
currentPath = wxGetCwd();
|
currentPath = filename.GetPath();
|
||||||
m_mruPath = currentPath;
|
m_mruPath = currentPath;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue