Use proper path when loading files from Gerber job file

This commit is contained in:
Jon Evans 2018-02-25 20:11:12 -05:00 committed by Wayne Stambaugh
parent 5292829e05
commit 80035661dc
1 changed files with 1 additions and 1 deletions

View File

@ -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