From bc42546609581362bb90e9fa36f8e4e697358e2a Mon Sep 17 00:00:00 2001
From: Jon Evans <jon@craftyjon.com>
Date: Wed, 1 Nov 2023 08:42:06 -0400
Subject: [PATCH] Try harder to save schematic properties panel width

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15957
---
 eeschema/eeschema_config.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eeschema/eeschema_config.cpp b/eeschema/eeschema_config.cpp
index d0836679c8..35096716e2 100644
--- a/eeschema/eeschema_config.cpp
+++ b/eeschema/eeschema_config.cpp
@@ -239,6 +239,7 @@ void SCH_EDIT_FRAME::SaveSettings( APP_SETTINGS_BASE* aCfg )
         wxAuiPaneInfo& propertiesPane = m_auimgr.GetPane( PropertiesPaneName() );
         cfg->m_AuiPanels.show_properties = propertiesPane.IsShown();
         cfg->m_AuiPanels.properties_splitter = m_propertiesPanel->SplitterProportion();
+        cfg->m_AuiPanels.properties_panel_width = m_propertiesPanel->GetSize().x;
     }
 }