Save MRU path when doing a library Save As....

Fixes https://gitlab.com/kicad/code/kicad/issues/4910
This commit is contained in:
Jeff Young 2020-07-18 15:25:29 +01:00
parent bcb29b6bf8
commit 1e9d947598
1 changed files with 2 additions and 0 deletions

View File

@ -825,6 +825,8 @@ bool LIB_EDIT_FRAME::saveLibrary( const wxString& aLibrary, bool aNewFile )
fn = dlg.GetPath(); fn = dlg.GetPath();
prj.SetRString( PROJECT::SCH_LIB_PATH, fn.GetPath() );
if( fn.GetExt().IsEmpty() ) if( fn.GetExt().IsEmpty() )
fn.SetExt( KiCadSymbolLibFileExtension ); fn.SetExt( KiCadSymbolLibFileExtension );
} }