From 1e9d947598572da034685869167ac3b296b2488f Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 18 Jul 2020 15:25:29 +0100 Subject: [PATCH] Save MRU path when doing a library Save As.... Fixes https://gitlab.com/kicad/code/kicad/issues/4910 --- eeschema/libedit/libedit.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eeschema/libedit/libedit.cpp b/eeschema/libedit/libedit.cpp index b02a0c87fa..7e49340907 100644 --- a/eeschema/libedit/libedit.cpp +++ b/eeschema/libedit/libedit.cpp @@ -825,6 +825,8 @@ bool LIB_EDIT_FRAME::saveLibrary( const wxString& aLibrary, bool aNewFile ) fn = dlg.GetPath(); + prj.SetRString( PROJECT::SCH_LIB_PATH, fn.GetPath() ); + if( fn.GetExt().IsEmpty() ) fn.SetExt( KiCadSymbolLibFileExtension ); }