7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 15:43:44 +00:00

Make doubly sure net inspector settings are saved.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19449
This commit is contained in:
Jeff Young 2025-01-13 19:27:50 +00:00
parent 4a3f69e518
commit c52c41a1d5

View File

@ -1272,9 +1272,14 @@ void PCB_EDIT_FRAME::doCloseWindow()
// Make sure local settings are persisted
if( !Prj().GetLocalSettings().WasMigrated() )
{
m_netInspectorPanel->SaveSettings();
SaveProjectLocalSettings();
}
else
{
wxLogTrace( traceAutoSave, wxT( "Skipping auto-save of migrated local settings" ) );
}
// Do not show the layer manager during closing to avoid flicker
// on some platforms (Windows) that generate useless redraw of items in