From 1c59574cbfd84db6f3525abf89660fcd712eb563 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 22 Apr 2023 11:46:52 +0200 Subject: [PATCH] FOOTPRINT_EDIT_FRAME: do not delete settings when closing the frame. They now are read when starting kicad, and must be not deleted. (cherry picked from commit 0c544f1f453f1c9980641c19efcb87e95404456e) --- pcbnew/footprint_edit_frame.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/pcbnew/footprint_edit_frame.cpp b/pcbnew/footprint_edit_frame.cpp index 7cb96f5237..57c2e092d4 100644 --- a/pcbnew/footprint_edit_frame.cpp +++ b/pcbnew/footprint_edit_frame.cpp @@ -792,8 +792,6 @@ void FOOTPRINT_EDIT_FRAME::doCloseWindow() { GFootprintList.WriteCacheToFile( Prj().GetProjectPath() + wxT( "fp-info-cache" ) ); } - - mgr->FlushAndRelease( GetSettings() ); }