From 2a375808398cbc4c42011b30fe829c9bd3690506 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 11 Jun 2024 17:48:25 +0200 Subject: [PATCH] Symbol editor: ensure the left panel is correctly refreshed when hiding a pane. --- eeschema/symbol_editor/symbol_edit_frame.cpp | 1 + eeschema/symbol_editor/toolbars_symbol_editor.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/eeschema/symbol_editor/symbol_edit_frame.cpp b/eeschema/symbol_editor/symbol_edit_frame.cpp index ec3156887c..e097661af8 100644 --- a/eeschema/symbol_editor/symbol_edit_frame.cpp +++ b/eeschema/symbol_editor/symbol_edit_frame.cpp @@ -713,6 +713,7 @@ void SYMBOL_EDIT_FRAME::ToggleLibraryTree() treePane.Show( !IsLibraryTreeShown() ); updateSelectionFilterVisbility(); m_auimgr.Update(); + Refresh(); } diff --git a/eeschema/symbol_editor/toolbars_symbol_editor.cpp b/eeschema/symbol_editor/toolbars_symbol_editor.cpp index cf569ac27f..41a497afdc 100644 --- a/eeschema/symbol_editor/toolbars_symbol_editor.cpp +++ b/eeschema/symbol_editor/toolbars_symbol_editor.cpp @@ -3,7 +3,7 @@ * * Copyright (C) 2004 Jean-Pierre Charras, jaen-pierre.charras@gipsa-lab.inpg.com * Copyright (C) 2008 Wayne Stambaugh - * Copyright (C) 2004-2022 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2004-2024 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -209,4 +209,5 @@ void SYMBOL_EDIT_FRAME::ToggleProperties() } m_auimgr.Update(); + Refresh(); }